3 ms·
does this not come down to using the right tool for the job? I love writing in Python but would not use it for something where performance matters.
by Insanity 9y ago
does this not come down to using the right tool for the job?
I love writing in Python but would not use it for something where performance matters.
- dfinninger 9y agoI'm with you here. I tend to use Python, but if I need raw speed/concurrency I'll reach for something else. Currently Go.
- anameaname 9y agoIt's hard to tell ahead of time if performance matters. When you hack something out, and are able to get it to work, it inevitably starts to grow features. At some point (around 1000 lines in my experience), Python no longer is fast enough, but the code is difficult to port to something faster. It would be much better if you didn't have to back track on all the code you wrote. I've been burned by this enough times, that now I am wary of starting anything in Python, because I know it will grow to be bigger, and I will regret having picked Python!
- luispedrocoelho 9y agoI think this is part of my argument: as datasets grow faster than single-core CPU speed, performance matters more and more.
- collyw 9y agoExactly. For web dev stuff, the database is usually the bottleneck. Caching is the next lace to put your efforts. I think I have had one problem where Python was too slow.