abhi9u@lemmy.world to Technology@lemmy.worldEnglish · 8 days agoPython Performance: Why 'if not list' is 2x Faster Than Using len()blog.codingconfessions.comexternal-linkmessage-square35fedilinkarrow-up1118arrow-down114
arrow-up1104arrow-down1external-linkPython Performance: Why 'if not list' is 2x Faster Than Using len()blog.codingconfessions.comabhi9u@lemmy.world to Technology@lemmy.worldEnglish · 8 days agomessage-square35fedilink
minus-squareJustAnotherKay@lemmy.worldlinkfedilinkEnglisharrow-up9·edit-28 days agoHonestly most people use Python because it has fantastic libraries. They optimize it because the language is middling, but the libraries are gorgeous ETA: This might double post because my Internet sucks right now, will fix when I have a chance
minus-squareThirdConsul@lemmy.mllinkfedilinkEnglisharrow-up2·edit-28 days ago Honestly most people use Python because it has fantastic libraries In C++ if I remember correctly… Edit: I do https://codefinity.com/blog/Python-Libraries-Written-in-C-plus-plus
minus-squareJustAnotherKay@lemmy.worldlinkfedilinkEnglisharrow-up9·7 days agoWhat do I care what language the library is written in as long as it works for what I need it do?
minus-squareThirdConsul@lemmy.mllinkfedilinkEnglisharrow-up1·7 days agoMy point is tha the libraries itself are not in Python and thus most likely not exclusive to it. This is not an attack on Python, I just find it funny a bit :)
Honestly most people use Python because it has fantastic libraries. They optimize it because the language is middling, but the libraries are gorgeous
ETA: This might double post because my Internet sucks right now, will fix when I have a chance
In C++ if I remember correctly…
Edit: I do https://codefinity.com/blog/Python-Libraries-Written-in-C-plus-plus
What do I care what language the library is written in as long as it works for what I need it do?
My point is tha the libraries itself are not in Python and thus most likely not exclusive to it. This is not an attack on Python, I just find it funny a bit :)