3 ms·
> if Ruby can actually be a relatively fast language... I think that "if" still is a pretty big if. If Truffle/Graal ships and is able to run Rails at a 30x pe
by reissbaker 11y ago
> if Ruby can actually be a relatively fast language...
I think that "if" still is a pretty big if. If Truffle/Graal ships and is able to run Rails at a 30x perf improvement, that would be huge. Right now there's still some work left there, and the original article notes that they haven't been able to replicate the claimed perf gains. What's also tricky is that while there can often be "performance sweet spots" [1] in dynamic languages, it's very easy to accidentally fall out of them and make most of your app slow even if theoretically it's possible for it to run faster.
The TechEmpower benchmarks [2] are pretty damning when it comes to Ruby's current performance relative to other languages. For some projects, eventually it's easier to switch to a different language that's already fast rather than investing into speeding up a slow one.
[1] http://mrale.ph/blog/2011/11/05/the-trap-of-the-performance-sweet-spot.html http://mrale.ph/blog/2011/11/05/the-trap-of-the-performance-...
[2] https://www.techempower.com/benchmarks/ https://www.techempower.com/benchmarks/