News for hackers. Stuff that matters.
Re:How to Fix Slow Code in Ruby by VWWHFSfQ on Thursday May 14, 2020 @04:03PM (#23184645)
I wouldn't put node in with luajit. Luajit is about 4x faster than v8 JavaScript. So it's still in the slow category
Re:How to Fix Slow Code in Ruby by cygx on Thursday May 14, 2020 @04:20PM (#23184867)
Depends on the benchmark. Eg at the bottom of this page [1] can be found a simple fib(40) comparison of a few runtimes.

The Node time is at 2.6x the LuaJIT time, which I'd still consider in the same ballpark compared to eg the factor of 31x achieved by Python3.

[1] https://github.com/wasm3/wasm3/blob/master/docs/Performance....