News: 0001601607

  ARM Give a man a fire and he's warm for a day, but set fire to him and he's warm for the rest of his life (Terry Pratchett, Jingo)

Ruby 4.0 Released With Ruby Box Experimental Feature, ZJIT Compiler

([Programming] 22 Minutes Ago Ruby 4.0)


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.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 [1]Ruby-Lang.org .



[1] https://www.ruby-lang.org/en/news/2025/12/25/ruby-4-0-0-released/



Someday you'll get your big chance -- or have you already had it?