Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.



So 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.


What 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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: