Ruby 3.1 arrives with new JIT compiler
The Ruby community has released Ruby 3.1, an upgrade to the open source dynamic programming language that introduces a new in-process JIT (just-in-time) compiler to improve the performance of Ruby applications.Introduced on Christmas Day, Ruby 3.1, or Ruby 3.1.0, adds the YJIT (Yet Another Ruby JIT), a lightweight, minimalistic Ruby JIT built inside CRuby. YJIT uses a Basic Block Versioning architecture, with a JIT compiler inside of it. YJIT achieves fast warmup and performance improvements on most real-world software, Ruby’s developers said. But YJIT still is in an experimental stage and is disabled by default. To use it, developers must specify the –yjit command-line option. YJIT currently is limited to Unix-like x86-64 platforms.To read this article in full, please click here
The Ruby community has released Ruby 3.1, an upgrade to the open source dynamic programming language that introduces a new in-process JIT (just-in-time) compiler to improve the performance of Ruby applications.
Introduced on Christmas Day, Ruby 3.1, or Ruby 3.1.0, adds the YJIT (Yet Another Ruby JIT), a lightweight, minimalistic Ruby JIT built inside CRuby. YJIT uses a Basic Block Versioning architecture, with a JIT compiler inside of it. YJIT achieves fast warmup and performance improvements on most real-world software, Ruby’s developers said. But YJIT still is in an experimental stage and is disabled by default. To use it, developers must specify the –yjit
command-line option. YJIT currently is limited to Unix-like x86-64 platforms.