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