Re:Ruby 4.0.0 Preview2 Released
by lloydatkinson on Tuesday November 18, 2025 @08:57AM
(#45966034)
I didn't know Ruby has three different JITs
[ Parent
| on HN ]
It actually has several more, if you take into account JRuby + all JVM implementations (OpenJDK based distros, OpenJ9, Azul, PTC,...), ART even if not JVM proper with Ruboto, and TruffleRuby on GraalVM.
I was actually hoping it would be four JITs and we'd get Tenderlove's tiny FFI JIT too.
https://railsatscale.com/2025-02-12-tiny-jits-for-a-faster-f...
Re:Ruby 4.0.0 Preview2 Released
by shevy-java on Tuesday November 18, 2025 @09:17AM
(#45966333)
Mostly the newer ones try to improve the older ones.
I guess at some later point one will dominate and the others will go sleep mode. Just like in the movie Highlander - there can only be one. (I couldn't name offhand which JIT is the main one right now ... I always think it is from Takashi Kokubun but that may now be outdated. MJIT YJIT ZJIT HUJIT WAJIT WTFJIT GRANDMAJIT - too many JITs.)
Yes, specially ZJIT is news to me.
You can ignore it. It's just that the Japanese cannot allow an external jit dominate, and so they came up with a much simplier tier 0 method jit, which will never be able to surpass Maxime's yjit.