3 ms·
If you're a long-time developer and just coming across this, it should be... old news. The Techempower benchmarks [1] have consistently shown Ruby on Rails resu
by pkroll 9y ago
If you're a long-time developer and just coming across this, it should be... old news. The Techempower benchmarks [1] have consistently shown Ruby on Rails results can be in the range of 1/30 to 1/40th speed of C, C++, Scala, Java and Go, depending on the kind of task. The first thing I thought of actually was an article from 2013, on replacing Ruby with Go [2]. I'm surprised there aren't more of these sort of articles, really: Replacing Ruby on Rails with Rust|Scala|Java|Insert Here.
There are a lot of interesting aspects of functional programming, but there's no particular miracle here: Ruby, particular Ruby on Rails, is slow.
[1] https://www.techempower.com/benchmarks/#section=data-r13&hw=cl&test=json https://www.techempower.com/benchmarks/#section=data-r13&hw=...
[2] https://www.iron.io/how-we-went-from-30-servers-to-2-go/ https://www.iron.io/how-we-went-from-30-servers-to-2-go/