Ruby 3.4 introduces an experimental Modular Garbage Collector API (Feature #20470) that decouples the GC from the VM, allowing alternative GC implementations to be loaded at runtime via dynamic libraries. Two implementations ship with Ruby 3.4: the traditional default GC (modularized) and an experimental MMTk-based collector

•4m read time• From rubystacknews.com
Post cover image
Table of contents
From Monolithic GC to Pluggable ArchitectureHow Modular GC WorksBuilt-In Options: Default GC and MMTkDefault GC (modularized)Experimental MMTk-Based GCWhat a GC Implementation Must HandleInspecting the Active GCWhy This MattersFaster InnovationAdaptation to New EnvironmentsPotential for Concurrent or Pauseless GCResearch and BenchmarkingCurrent StatusA Glimpse into Ruby’s FutureSourceShare this:Related

Sort: