Ruby 4.0.0 Preview 2 Released with Unicode 17.0.0 Support and Language Updates
By
pansa2
A baker's-dozen of insight crammed into one ring.
Summary
Ruby 4.0.0-preview2 has been released, featuring significant language updates including Unicode version 17.0.0 support and changes to nil behavior. The release includes core class updates such as modifications to Binding methods that no longer handle numbered parameters, and nil no longer calls nil.to_a similar to how **nil doesn't call nil.to_hash.
Key quotes
· 5 pulledWe are pleased to announce the release of Ruby 4.0.0-preview2.
Ruby 4.0 updates its Unicode version to 17,0.0, and so on.
nil no longer calls nil.to_a, similar to how **nil does not call nil.to_hash.
Binding#local_variables does no longer include numbered parameters.
Binding#local_variable_get and Binding#local_variable_set reject to handle numbered parameters.
You might also wanna read
Dynamic Borrow-Checking in a Toy Programming Language: Implementing Rust-like Memory Safety Without Static Types
This article presents a demonstration of a toy programming language that implements borrow-checking without static type-checking. The langua
C++26 Standard Draft Finalized with Reflection, Memory Safety, Contracts, and New Concurrency Framework
The C++26 standard draft has been completed, introducing major new features including reflection capabilities that allow C++ to describe its
Understanding Fil-C: A Simplified Model of Memory-Safe C/C++ Implementation
The article presents a simplified model of Fil-C, a memory-safe implementation of C/C++. It explains that while the real Fil-C uses a compil
Sky: An Experimental Elm-Inspired Programming Language That Compiles to Go
Sky is an experimental programming language that combines Go's pragmatism with Elm's elegance to create a fullstack functional programming l
Analyzing Rust's Coherence and Orphan Rules: Ecosystem Development Challenges and Proposed Solutions
This article critiques Rust programming language's coherence rules and orphan rules, which prevent implementing traits for types defined in
SBCL Fibers: Implementation Design for Lightweight Cooperative Threads
This is a draft design document describing the implementation of lightweight userland cooperative threads (called 'fibers') for SBCL (Steel
