Get the latest tech news
Ruby 3.4.0
Posted by naruse on 25 Dec 2024 We are pleased to announce the release of Ruby 3.4.0. Ruby 3.4 adds it block parameter reference, change Prism as default parser, adds Happy Eyeballs Version 2 support to socket library, improves YJIT, adds Modular GC, and so on.
When the intention is to only use_1 in a block, the potential for other numbered parameters such as_2 to also appear imposes an extra cognitive load onto readers. This improvement enables Ruby to provide efficient and reliable network connections, adapted to modern internet environments. YJIT stats RubyVM::YJIT.runtime_stats now always provides additional statistics on invalidation, inlining, and metadata encoding.
Or read this on Hacker News