Ruby3

Ruby 3.1 introduces Variable Width Allocation for Strings

In this blog let us understand how Variable Width Allocation works in Ruby

How does Ruby manage memory?

Each programming language has its version of memory management so, let us look into how Ruby does this under the hood.

Ruby Fibers 101

Ruby 3 focuses more on concurrency with the introduction of Ruby Fibers and the Fiber Scheduler Interface.

Ruby 3.1 evaluates multiple assignments from left to right

Ruby changes the evaluation order for multiple assignments from left to right making it consistent with single assignment evaluation order.

Ruby 3.0 - Procs accepting a single rest argument and keyword arguments are no longer subject to autosplatting

Ruby 3.0 changed the inconsistent behavior for autosplatting, when rest argument and keyword arguments are present for a Proc