VOOZH about

URL: https://www.phoronix.com/news/Ruby-4.0-Released

⇱ Ruby 4.0 Released With Ruby Box Experimental Feature, ZJIT Compiler - Phoronix


👁 Phoronix

Ruby 4.0 Released With Ruby Box Experimental Feature, ZJIT Compiler

Written by Michael Larabel in Programming on 25 December 2025 at 05:38 AM EST. 11 Comments
The past several years we have seen new releases of the Ruby programming language implementation for Christmas (25 December). This year is no different with Ruby 4.0 having been released this morning.

Ruby 4.0 is a big one with ZJIT as their new just-in-time compiler as a new generation of the YJIT compiler. The focus with ZJIT is on furthering the performance but the developers acknowledge that right now it may not be as fast as YJIT.

Ruby 4.0 also brings Ruby Box as an experimental feature to provide separation about definitions. Ruby definitions that are loaded in a box are isolated to that box for a greater level of separation.

👁 Ruby 4


Ruby 4.0 also brings improvements to the Ractor parallel execution mechanism, some minor language changes, and various class updates. Downloads and more details on today's Ruby 4.0 release via Ruby-Lang.org.

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.