Yes, Python Is Slow, and I Don’t Care
hackernoon.com
Yes, Python Is Slow, and I Don’t Care
1–9 of 9 posts
Re: Yes, Python Is Slow, and I Don’t Care
#2Re: Yes, Python Is Slow, and I Don’t Care
#3Re: Yes, Python Is Slow, and I Don’t Care
#4Pointless things like this comes to mind: https://github.com/juditacs/wordcount/blob/master/README.md
Two persons in the #guile irc channel tried hard to make a guile version run faster than the python3 version, and after a long time got it on par with it, and guile2.2 is usually about 3-5x faster than python in my completely unscientific benchmarks.
Re: Yes, Python Is Slow, and I Don’t Care
#5Re: Yes, Python Is Slow, and I Don’t Care
#6Re: Yes, Python Is Slow, and I Don’t Care
#7There seems to be an unstated assumption that dynamic types cause slower code, but aid productivity. But I find static types greatly help me reason about a program, and when doing python, I resort to extensive documentation of function arguments and return values, as a poor substitute for static types.
When working on a large codebase maintained over years and years, I appreciate static types -- especially when it comes to using refactoring tools, like in Eclipse or similar IDEs.
Re: Yes, Python Is Slow, and I Don’t Care
#8Hmpth. Why must I choose? Python is very poorly - even perversely - designed from a performance perspective. I suspect the only reason we use it is because it was an early offering amongst "human-factors-oriented languages", and it now has the momentum. But there's no intrinsic conflict - there exist languages now that are arguably intrinsically better along every conceivable metric.
Re: Yes, Python Is Slow, and I Don’t Care
#9There seems to be an unstated assumption that dynamic types cause slower code, but aid productivity. But I find static types greatly help me reason about a program, and when doing python, I resort to extensive documentation of function arguments and return values, as a poor substitute for static types.
I like the language overall, in part because it allows mediocre engineers to become quickly productive and you can't always hire 100% excellent engineers. But this main downside is in fact a downside.