News for hackers. Stuff that matters.
Re:Why Wasn't Ruby 3 Faster? by petre on Thursday February 11, 2021 @12:41AM (#26098607)
Yup, only the Node runtime is very fast, pretty much 2x-3x times faster than Python 3.6 and Perl 5.26 and 4-5x faster than Ruby 2.4 for non I/O operations (loop, push to array, set hash keys). Only Lua and Luajit beats it. Raku/Perl6 was still slower than Ruby last time I checked. My tests were crunching primes and the Raku foreach loop had worse performance than the loop statement (ugly C-style loop). For number crunching Raku is slower probably because of the rational math.

Anyway, I like Ruby more than any of those languages, so hopefully speed in 3.0 is at least on par with Python and Perl now.

Re:Why Wasn't Ruby 3 Faster? by bdcravens on Thursday February 11, 2021 @01:33AM (#26098867)
Now Ruby just needs someone putting Google-level resources into optimizing the runtime (since most of Node's performance comes from v8)
Re:Why Wasn't Ruby 3 Faster? by SahAssar on Saturday February 13, 2021 @08:24PM (#26128818)
I don't think anyone put google-level cash into LuaJIT but it still manages to be pretty fast.