Re:Ruby 3.4.0
by zarzavat on Wednesday December 25, 2024 @04:31AM
(#42507875)
Google hired all the best JIT engineers and set them to work on v8. If you want better performance you'd have to choose an AOT compiled language.
[ Parent
| on HN ]
That seems like a meme from 10 years ago. I don’t think that’s really true anymore is it?
I mean Truffle Ruby is as fast as V8 already and MRI yJIT and jRuby are catching up fast.
It could also be argued that JVM is the gold standard JIT.
I think that shows that Google doesn’t have a monopoly on great JIT engineers.
Re:Ruby 3.4.0
by attractivechaos on Wednesday December 25, 2024 @07:12AM
(#42508430)
> Truffle Ruby is as fast as V8 already and MRI yJIT and jRuby are catching up fast
According to which benchmark? At my hand [1], node is ~60% faster than TruffleRuby and over an order of magnitude faster than yjit v3.3.0.
[1] https://github.com/attractivechaos/plb2?tab=readme-ov-file#a...
> I mean Truffle Ruby is as fast as V8 already
v8 and node are 15 years old. That's when this actually mattered and js on the backend took off.
Re:Ruby 3.4.0
by neonsunset on Wednesday December 25, 2024 @09:00AM
(#42508800)
OpenJDK HotSpot and .NET RyuJIT both produce much faster code :)
And the latter lets you operate on the same level of abstraction as Rust and C++ compilers do.
> OpenJDK HotSpot and .NET RyuJIT both produce much faster code :)
For dynamic languages? Stuff like Clojure, JRuby, Boo, are definitely not faster than V8 JavaScript...