News for hackers. Stuff that matters.
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
Re:Ruby 4.0.0 Preview2 Released by pjmlp on Tuesday November 18, 2025 @10:06AM (#45967171)
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.
Re:Ruby 4.0.0 Preview2 Released by Lio on Tuesday November 18, 2025 @09:34AM (#45966661)
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.)

Re:Ruby 4.0.0 Preview2 Released by hartator on Tuesday November 18, 2025 @09:04AM (#45966138)
Yes, specially ZJIT is news to me.
Re:Ruby 4.0.0 Preview2 Released by rurban on Saturday November 22, 2025 @07:41AM (#46014335)
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.