4 ms·
Ruby is well known as the “bad parts of Perl” so there’s a beautiful horror here. It’s also funny that Ruby is the slowest of the dynamic languages, and that Pe
by stevebmark 4y ago
Ruby is well known as the “bad parts of Perl” so there’s a beautiful horror here. It’s also funny that Ruby is the slowest of the dynamic languages, and that Perl is much faster. They created a magnificent mind bending nightmare.
- jbverschoor 4y agoPython 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.
- bhaak 4y agoI think you misphrased "the bad parts in Ruby are from Perl".
- thanatos519 4y agoI think of Ruby as "The Perl that Python wanted to be"
- mst 4y agoruby is basically a shinier cleaner perl with unfortunately castrated OO
- Doctor_Fegg 4y agoIf this is "well known" then someone should tell Google, because right now it's not corroborating that assertion...
- systems_glitch 4y agoWeird. I often describe Ruby as "the best parts of Perl" to people who aren't familiar with Ruby.