The developer team has announced the release of a major update for Ruby 3.0, the latest version of the popular programming language that focuses on rapid web application and service development. This update brings various innovations aimed at enhancing the performance of the Cruby interpreter and expanding the language’s functional capabilities.
Notable changes in this release include:
Change | Description |
---|---|
Parser prism | Ruby 3.3.0 incorporates the PRISM Parser, implemented as the Libprism SILLITETRES and GEM package in Ruby. This parser is integrated into the Cruby interpreter and offers a publicly available API for analyzing Ruby code, making it useful for ongoing projects. Prism offers excellent tolerance and flexible error handling in code processing. For more details, see the Prism GitHub page. |
Lrama project | The Lrama project is leveraged to generate parsers for the Ruby 3.3.0 release. The project, available on GitHub, provides the implementation of the LALR algorithm in Ruby and supports grammar definitions used in Cruby. It also offers advanced features like error handling and parameterized rules. |
Improvements to YJIT compiler | The JIT compiler YJIT has been significantly optimized in this version of Ruby. YJIT, developed by the Shopify team, enhances the performance of Ruby programs using the Rails Framework and executes numerous methods. The new YJIT utilizes Lazy Basic Block Versioning (LBBV) for base block versioning, resulting in improved Ruby application performance. Further information can be found on the Shopify Engineering blog. |
New JIT compiler Rjit | Ruby 3.3.0 introduces a new JIT compiler called Rjit, which is entirely written in Ruby. Rjit supports only the X86-64 architecture and UNIX-like platforms, and does not require C compilation. |
Streams “M: N” | This version of Ruby includes the “M |
/Reports, release notes, official announcements.