4 ms·
Isn't being interpreted in multiple threads incredibly slow?? Like single thread python, just multiplied. Slow. Is it because it's easy to write? Honestly I a
by 72deluxe 7y ago
Isn't being interpreted in multiple threads incredibly slow?? Like single thread python, just multiplied. Slow.
Is it because it's easy to write?
Honestly I am curious as an outsider to the Python world.
- nurettin 7y agoComing from a complicated background (pascal, c++, ruby, typescript, delphi, kotlin) I'm pretty new to python myself. Python is dead in water for trivial things like parsing datetimes and floats, or writing complex algorithms. C++ pretty easily beats it by orders of magnitude. However, it is pretty good at other things such as (off the top of my mind) running a regex over a bunch of text to find subgroups, serializing/deserializing data, scipy's curve fitting, etc. So as long as you are using some module that calls natively compiled code, you are pretty much golden.
- 72deluxe 7y agoLooks like I'll stick to the wonderful world of C++ then! It seems that when a language has to resort to calling another language's compiled modules for speed, it has lost the fight for efficiency.