3 ms·
yes, writing efficient programs is different in different languages. "- Don't write Java (or C++, or Javascript, ...) in Python." and then you don't need to se
by d0mine 14y ago
yes, writing efficient programs is different in different languages.
"- Don't write Java (or C++, or Javascript, ...) in Python." and then you don't need to search for workarounds.
- Dylan16807 14y agoSo if someone writes code that makes heavy use of nonlibrary python code in multiple threads, you're automatically going to blame them as writing in the style of some other language? That's pretty No True Scotsman. I'm not arguing for or against the GIL here but it's something to keep in mind. "Threads run concurrently" is misleading. And it's not a matter of being pythonic, the GIL isn't even a python feature.
- Nursie 14y agoWhat I'm saying is that it's a misleading language feature and something to bear in mind. It's not really a case of just being pythonic.