Hacker News new | ask | show | jobs
by jrochkind1 201 days ago
From the article OP is responding to:

> Critically, Ruby’s performance profile consistently ranks near the bottom (read: slowest) among major languages.

Without a cite, perhaps because it's not really true. Ruby's performance is similar to python's. Granted, neither one is going to win any competitions, although I'm not sure what the field of "major languages" is.

1 comments

> Ruby's performance is similar to python's. Granted, neither one is going to win any competitions...

It's not just that they won't win any speed competitions, but that Ruby and Python are bound to come in last place. The only question is, which one comes in last and which 2nd to last. Runners up include Perl, PHP, and sometimes non-JIT Lua. Choose any benchmark, the results are consistent: https://benchmarksgame-team.pages.debian.net/benchmarksgame/...

Choose any benchmark and line-by-line transliterate the programs to really make that point:

https://benchmarksgame-team.pages.debian.net/benchmarksgame/...

The point is that if anyone could submit a faster implementation by now they would have. The posted numbers are as good as it gets.
That's purely speculation.