Understanding Ruby Proc Internals Through proc.c

May 26, 2026 Ruby’s elegance hides an extremely sophisticated runtime underneath. Features like blocks, lambdas, closures, binding, method(:foo), and even &:to_s rely on a dense set of VM internals implemented in CRuby’s proc.c. This file is one of the best entry points for understanding how Ruby models executable code objects. The source analyzed here comes … Continue reading Understanding Ruby Proc Internals Through proc.c

Inside Ruby’s net/http: Exploring the Networking Engine Behind Ruby APIs

May 19, 2026 Most Ruby developers use HTTP every day. Whether through: Rails API integrations webhooks OAuth providers payment gateways microservices REST clients …underneath the stack, many requests still pass through Ruby’s classic net/http. But few developers ever explore how it actually works internally. Inside Ruby’s standard library lives a surprisingly sophisticated networking engine featuring: … Continue reading Inside Ruby’s net/http: Exploring the Networking Engine Behind Ruby APIs

Inside Ruby’s JSON Library: Complete Deep Dive

May 18, 2026 Introduction This tutorial explores the internals of the JSON library used by entity ["software","Ruby","CRuby interpreter"]. The archive contains: Native C parser implementation Native C generator implementation SIMD optimizations Floating-point conversion algorithms Buffer management infrastructure Ruby wrapper APIs JSON additions for Ruby core classes Build system integration Repository structure: json/ β”œβ”€β”€ parser/ β”‚ … Continue reading Inside Ruby’s JSON Library: Complete Deep Dive

Ractors: Real Parallelism in Ruby Without the GVL

May 14, 2026 In-depth technical analysis Β· RubyStackNews Β· Concurrency & Performance For decades, the Global VM Lock (GVL) β€” also known as the GIL β€” was CRuby's great concession: the safety and simplicity of an object model free of data races, in exchange for not being able to execute Ruby code in parallel within … Continue reading Ractors: Real Parallelism in Ruby Without the GVL

Ruby Numeric Deep Dive: Useful Methods You Probably Underuse (With Examples)

Ruby Numeric Deep Dive: Useful Methods You Probably Underuse (With Examples) May 13, 2026 Ruby Numeric Deep Dive: Useful Methods You Probably Underuse (With Examples) Ruby’s Numeric, Integer, Float, and Math modules expose a rich API that goes far beyond basic arithmetic. This guide focuses on useful, practical methods, with clear examples and real-world use … Continue reading Ruby Numeric Deep Dive: Useful Methods You Probably Underuse (With Examples)

MRI Internals: How Ruby Arrays Became a VM Playground

May 12, 2026 If you still think Ruby’s Array is β€œjust a C struct with some methods on top,” you’re about 5 years out of date. Modern MRI tells a very different story. Today, Array sits at the intersection of: Ruby code (array.rb) VM intrinsics (Primitive.*) C runtime (array.c) JIT specialization (YJIT) And the result … Continue reading MRI Internals: How Ruby Arrays Became a VM Playground

πŸš€ Introducing ruby-charts: Native Charts for Ruby

Introducing ruby-charts: Native Charts for Ruby May 10, 2026 Last Friday I released ruby-charts, a gem for generating charts directly in Rubyβ€”no JavaScript, no external APIs. Built for Ruby on Rails Build Maps WithoutGoogle APIs Generate beautiful production-ready maps directly from your Rails backend. Fast rendering, zero external dependencies, full control. View Live Demo β†’ … Continue reading πŸš€ Introducing ruby-charts: Native Charts for Ruby

Why Ruby’s Hash Pattern Parser Update Matters for Your Code

Why Ruby's Hash Pattern Parser Update Matters for Your Code May 6, 2026 Reference: Ruby Parserι–‹η™Ίζ—₯θͺŒ - Hash pattern対応 (Day 42) Built for Ruby on Rails Build Maps WithoutGoogle APIs Generate beautiful production-ready maps directly from your Rails backend. Fast rendering, zero external dependencies, full control. View Live Demo β†’ Read Docs βœ“ No API … Continue reading Why Ruby’s Hash Pattern Parser Update Matters for Your Code

Do you need to build a State Machine at least once in your career?

Do you need to build a State Machine at least once in your career? May 5, 2026 Probably not. Built for Ruby on Rails Build Maps WithoutGoogle APIs Generate beautiful production-ready maps directly from your Rails backend. Fast rendering, zero external dependencies, full control. View Live Demo β†’ Read Docs βœ“ No API fees βœ“ … Continue reading Do you need to build a State Machine at least once in your career?

When your Rails app is secure… but your kernel isn’t

When your Rails app is secure… but your kernel isn’t May 3, 2026 Built for Ruby on Rails Build Maps WithoutGoogle APIs Generate beautiful production-ready maps directly from your Rails backend. Fast rendering, zero external dependencies, full control. View Live Demo β†’ Read Docs βœ“ No API fees βœ“ Self-hosted βœ“ Rails Native βœ“ Fast … Continue reading When your Rails app is secure… but your kernel isn’t