3 ms·
That would have been almost impossible. Ruby was never designed as a “fast” language, but 3x is a huge number for anything this mature.
by joshspankit 4y ago
That would have been almost impossible.
Ruby was never designed as a “fast” language, but 3x is a huge number for anything this mature.
- galangalalgol 4y agoLooking at the benchmark game, it seems 3x current performance would put it in the company of racket, which is still noticably slower than node js. While right now it is much closer to python. All benchmarks are misleading but it shows 10x slower than java, lisp, and pascal. Is there a reason that isn't actually representative of idiomatic use?
- WJW 4y agoThe benchmarks in the benchmark game are typically CPU bound, which heavily favors compiled languages for obvious reasons. With regards to what "idiomatic use" is for Ruby, we could argue that most ruby apps are web backends and most of those spend the majority of their waiting for DB and/or API calls and don't spend all that much doing work in actual Ruby.
- galangalalgol 4y agoThe same could be said for python with calls into numpy and pytorch consuming much of the time, but no one calls it designed for speed.