Logo of AppSignal

Menu

Ruby Magic

Ruby Magic is our special email series where we dive deep into all things Ruby. If you are interested in learning more about concurrency, webservers, memory allocations and garbage collection, you'll love this.

Ruby Templating: Baking an Interpreter

By Benedikt Deicke on

In this post, we'll bake our own Interpreter, bringing the Templating series together with a lot of sticky stroop.

read more

Type Checking in Ruby — Check Yo Self Before You Wreck Yo Self

By Michael Kohl on

A splash into Duck Typing, gradual typing and enjoying Sorbet on a typical summer day

read more

Digging Deeper into Ruby Templating: The Parser

By Benedikt Deicke on

With the lexer in place, let’s move on to the next step: The parser.

read more

Brewing our own Template Lexer in Ruby

By Benedikt Deicke on

For our dive into templating, we end up writing our own lexer.

read more

Inside Enumeration in Ruby

By Jeff Kreeftmeijer on

We dive even deeper into enumeration by looking at the internal implementation and implementing our own versions of the `Enumerable` module and the `Enumerator` class.

read more

Ruby's Hidden Gems:
Delegator and Forwardable

By Michael Kohl on

In today's exploration of Ruby's standard library, we're going to look at delegation through Ruby's Delegator and Forwardable classes.

read more

Learning by building, a Background Processing System in Ruby

By Benedikt Deicke on

In this edition of Ruby Magic, we'll implement our very own background processing system to offload potentially slow tasks as a peek into background job libraries like Sidekiq.

read more

Ruby's Hidden Gems, StringScanner

By Michael Kohl on

Ruby comes with an excellent standard library. Parts of which are unknown, almost hidden gems, like today's subject Stringscanner

read more

Unraveling Classes, Instances and Metaclasses in Ruby

By Jeff Kreeftmeijer on

Through examining metaclasses, we'll learn how class and instance methods work in Ruby.

read more

Bindings and Lexical Scope in Ruby

By Jeff Kreeftmeijer on

In this edition of Ruby Magic, we’ll show how scope works in Ruby’s methods and closures. We’ll also take a peek at how ERB uses the binding object to render templates.

read more

Fibers and Enumerators in Ruby: Turning Blocks Inside Out

By Julik Tarkhanov on

In this edition of Ruby Magic, we shine a light on Enumerable and Fiber to explain flow controlling enumerables and turning blocks inside out.

read more

Building a Ruby C Extension From Scratch

By Thijs Cadier on

In this edition of Ruby Magic, we'll show you how to use code written in C from Ruby.

read more

More articles

Go back
Ruby magic icon

Subscribe to

Ruby Magic

Magicians never share their secrets. But we do. Sign up for our Ruby Magic email series and receive deep insights about garbage collection, memory allocation, concurrency and much more.

We'd like to set cookies, read why.