Year in Review 2022: Tenderlove's Ruby and Rails Reflections and Predictions - Shopify
Dec 22, 2022

Summary
This post details the development and enhancement of YJIT, including its port to Rust for improved maintainability and performance, and its new capability to generate machine code for ARM platforms. It also discusses the Variable Width Allocation project, which optimizes Ruby's memory layout by adjusting object slot sizes based on instance variable count, and the introduction of Object Shapes for Ruby 3.2, an optimization technique that uses object properties and their order as cache keys for inline caches, independent of the object's class. The post also introduces Ruby LSP, an implementation of the Language Server Protocol for Ruby and Rails, and the Error Highlight gem's integration with Rails error pages for enhanced debugging.