Ruby 3.3.0 nears release with brand-new parser


Ruby 3.3.0, a prepared upgrade to the popular dynamic language that includes a brand-new parser, has reached the release prospect 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 included in Ruby 3.3.0 is the Lrama LALR parser generator , which is meant to supply an error-tolerant parser for CRuby with minimal modifications to the CRuby parse.y file. Other highlights of Ruby 3.3.0 include: The pure-Ruby RJIT Ruby JIT compiler changes MJIT

  • . RJIT is currently experimental; YJIT needs to be used in production. YJIT receives major performance improvements over Ruby 3.2. Memory usage also has actually been enhanced in YJIT. The M: N thread scheduler is introduced.
  • For efficiency, specified? (@ivar)is optimized with Object Shapes. Garbage collector efficiency has actually been improved.
  • Many core classes now utilize Variable Width Allotment, notably
  • Hash, Time, Thread:: Backtrace, Thread:: Backtrace:: Place, File:: Stat, and Technique. This makes these classes much faster to allocate and to free, and lowers memory use and stack fragmentation. After the release of RC1, Ruby’s contractors will prevent introducing ABI

    (application binary interface)incompatibilities any place possible. Predecessor Ruby 3.2.2, featuring security repairs, was released March 30. Copyright © 2023 IDG Communications, Inc. Source

  • Leave a Reply

    Your email address will not be published. Required fields are marked *