Menu
Ruby 3.3.0 nears release with new parser

Ruby 3.3.0 nears release with new parser

Ruby language upgrade with Prism parser, Lrama parser generator, and experimental Ruby JIT compiler is available in a release candidate.

Credit: Photo 201782565 © mariavonotna | Dreamstime.com

Ruby 3.3.0, a planned update to the popular dynamic language that features a new parser, has reached the release candidate stage.

RC1 of Ruby 3.3.0 was announced December 11. It can be accessed from ruby-lang.org.

Featured is the Prism parser as a default gem. Prism is billed as a portable, error-tolerant, maintainable, recursive-descent parser for the Ruby language. A C library, Prism can be used in place of Ripper.

Also featured in Ruby 3.3.0 is the Lrama LALR parser generator, which is intended to provide an error-tolerant parser for CRuby with minimal changes to the CRuby parse.y file. Other highlights of Ruby 3.3.0 include:

  • The pure-Ruby RJIT Ruby JIT compiler replaces MJIT. RJIT is currently experimental; YJIT should be used in production.
  • YJIT receives major performance improvements over Ruby 3.2. Memory usage also has been improved in YJIT.
  • The M:N thread scheduler is introduced.
  • For performance, defined?(@ivar) is optimized with Object Shapes.
  • Garbage collector performance has been improved.
  • Most core classes now use Variable Width Allocation, notably Hash, Time, Thread::Backtrace, Thread::Backtrace::Location, File::Stat, and Method. This makes these classes faster to allocate and to free, and reduces memory use and heap fragmentation.

After the release of RC1, Ruby’s builders will avoid introducing ABI (application binary interface) incompatibilities wherever possible. Predecessor Ruby 3.2.2, featuring security fixes, was released March 30.


Follow Us

Join the newsletter!

Or

Sign up to gain exclusive access to email subscriptions, event invitations, competitions, giveaways, and much more.

Membership is free, and your security and privacy remain protected. View our privacy policy before signing up.

Error: Please check your email address.

Events

EDGE 2024

Register your interest now for EDGE 2024!

Featured

Slideshows

How MSPs can capitalise on integrating AI into existing services

How MSPs can capitalise on integrating AI into existing services

​Given the pace of change, scale of digitalisation and evolution of generative AI, partners must get ahead of the trends to capture the best use of innovative AI solutions to develop new service opportunities. For MSPs, integrating AI capabilities into existing service portfolios can unlock enhancements in key areas including managed hosting, cloud computing and data centre management. This exclusive Reseller News roundtable in association with rhipe, a Crayon company and VMware, focused on how partners can integrate generative AI solutions into existing service offerings and unlocking new revenue streams.

How MSPs can capitalise on integrating AI into existing services
Access4 holds inaugural A/NZ Annual Conference

Access4 holds inaugural A/NZ Annual Conference

​Access4 held its inaugural Annual Conference in Port Douglass, Queensland, for Australia and New Zealand from 9-11 October, hosting partners from across the region with presentations on Access4 product updates, its 2023 Partner of the Year awards and more.

Access4 holds inaugural A/NZ Annual Conference
Show Comments