Running AI Locally for Ruby Development: A Practical Guide with Ollama, Aider, and Your Own Codebase

BERJAYA

Running AI Locally for Ruby Development: A Practical Guide with Ollama, Aider, and Your Own Codebase May 28, 2026 Ruby Stack News β€” by GermΓ‘n Silva There's a quiet revolution happening in developer tooling, and it doesn't require a cloud subscription, an API key, or sending your proprietary code to someone else's server. Over the … Continue reading Running AI Locally for Ruby Development: A Practical Guide with Ollama, Aider, and Your Own Codebase

Exploring Ruby’s OpenSSL stdlib internals: from C bindings to Ruby APIs

BERJAYA

Exploring Ruby’s OpenSSL stdlib internals: from C bindings to Ruby APIs May 27, 2026 Ruby ships with a standard library gem named openssl, responsible for exposing cryptographic primitives, TLS/SSL sockets, certificates, digests, encryption, and secure communication APIs directly to Ruby developers. Built for Ruby on Rails Build Maps WithoutGoogle APIs Generate beautiful production-ready maps directly … Continue reading Exploring Ruby’s OpenSSL stdlib internals: from C bindings to Ruby APIs

Understanding Ruby Proc Internals Through proc.c

BERJAYA

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 Object Model

BERJAYA

May 21, 2026 How MRI Really Implements include, prepend, extend, Singleton Classes and Method Lookup Ruby’s object model looks elegant from the outside: module Logging def call puts "before" super end end class Service prepend Logging def call puts "service" end end But internally, MRI/CRuby performs a surprising amount of machinery to make this work. … Continue reading Inside Ruby’s Object Model

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

BERJAYA

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

BERJAYA

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

Inside Ruby’s Range: A Tour Through range.c

BERJAYA

May 18, 2026 Most Ruby developers use ranges every day: (1..5) ('a'..'z') (1...) (..10) They feel lightweight, expressive, and almost deceptively simple. 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 … Continue reading Inside Ruby’s Range: A Tour Through range.c

Ractors: Real Parallelism in Ruby Without the GVL

BERJAYA

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)

BERJAYA

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

BERJAYA

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