3 ms·
Python is actually slower than Ruby
by jbverschoor 4y ago
Python is actually slower than Ruby
- est 4y agoI assume Python 3.0 ~ Python 3.10 are slower than Ruby. https://programming-language-benchmarks.vercel.app/python-vs-ruby https://programming-language-benchmarks.vercel.app/python-vs...
- nerdponx 4y agoInteresting to see these results! I wonder how Ruby 2.x would stack up in this same benchmark.
- type0 4y agoThe benchmarks are meaningless if they can be influenced by coding styles.
- nerdponx 4y agoSort of. When I think of "which language is fast", I think of "when using idiomatic style". That, to me, is a good measure of how fast the language is, in general. Benchmarks on aggressively optimized code are fun and interesting too, because they can tell you the hard lower limits of performance in the language runtime. But most people will never end up optimizing their code so thoroughly, so it's not particularly useful if you're interested in how a real working program will perform.