Ruby 3.3 has been released with new 'Prism' parser and pure-Ruby RJIT compiler

Ruby 3.3 has been released with new 'Prism' parser and pure-Ruby RJIT compiler

Ruby, the widely-used programming language, has recently unveiled Ruby 3.3, bringing with it a host of new features, enhancements, and bug fixes.

One of the most significant additions in Ruby 3.3 is a new parser named Prism. Developed with the Lrama parser generator, Prism is a portable, error-tolerant, and maintainable recursive descent parser specifically designed for the Ruby language. In this latest version, Ruby has included Prism as a default gem, signifying its readiness for production use.

Ruby 3.3 also introduces a new pure-Ruby JIT compiler, RJIT, alongside numerous performance improvements. Of particular note is the enhancement of the YJIT, which is set to boost the overall functionality and performance of the programming language.

In replacing the previous Ripper parser, users can now utilize Prism, which is actively maintained and prepared for immediate use in the Ruby environment. This update underscores Ruby's commitment to continual improvement and adaptability within the rapidly evolving landscape of programming languages.

by Paul

Ruby iconRuby
  269
  • ...

Ruby is a dynamic, reflective, object-oriented programming language with a syntax influenced by Perl and features akin to Smalltalk. Developed in Japan during the mid-1990s by Yukihiro "Matz" Matsumoto, Ruby's top features include dynamic typing, blocks, and object-oriented language. Python, JavaScript, and Java are considered top alternatives to Ruby.

No comments so far, maybe you want to be first?
Gu