Code and the Coding Coders who Code it

Episode 58 - Aaron Patterson


Listen Later

Ruby core team member Aaron Patterson (tenderlove) takes us deep into the cutting edge of Ruby's performance frontier in this technical exploration of how one of the world's most beloved programming languages continues to evolve.

At Shopify, Aaron works on two transformative projects: ZJIT, a method-based JIT compiler that builds on YJIT's success by optimizing register allocation to reduce memory spills, and enhanced Ractor support to enable true CPU parallelism in Ruby applications. He explains the fundamental differences between these approaches - ZJIT makes single CPU utilization more efficient, while Ractors allow Ruby code to run across multiple CPUs simultaneously.

The conversation reveals how real business needs drive language development. Shopify's production workloads unpredictably alternate between CPU-bound and IO-bound tasks, creating resource utilization challenges. Aaron's team aims to build auto-scaling web server infrastructure using Ractors that can dynamically adjust to workload characteristics - potentially revolutionizing how Ruby applications handle variable traffic patterns.

For developers interested in contributing to Rails, Aaron offers practical advice: start reading the source code, understand the architecture, and look for ways to improve it. He shares insights on the challenges of making Rails Ractor-safe, particularly around passing lambdas between Ractors while maintaining memory safety.

The episode concludes with a delightful tangent into Aaron's latest hardware project - building a color temperature sensor for camera calibration that combines his photography hobby with his programming expertise. True to form, even his leisure activities inevitably transform into coding projects.

Whether you're a seasoned Ruby developer or simply curious about language design and performance optimization, Aaron's unique blend of deep technical knowledge and playful enthusiasm makes this an engaging journey through Ruby's exciting future.

Send us some love.

Honeybadger
Honeybadger is an application health monitoring tool built by developers for developers.

Judoscale
Autoscaling that actually works. Take control of your cloud hosting.

Disclaimer: This post contains affiliate links. If you make a purchase, I may receive a commission at no extra cost to you.

Support the show

...more
View all episodesView all episodes
Download on the App Store

Code and the Coding Coders who Code itBy Drew Bragg

  • 5
  • 5
  • 5
  • 5
  • 5

5

6 ratings


More shows like Code and the Coding Coders who Code it

View all
The Changelog: Software Development, Open Source by Changelog Media

The Changelog: Software Development, Open Source

292 Listeners

The Bike Shed by thoughtbot

The Bike Shed

121 Listeners

Startups For the Rest of Us by Rob Walling

Startups For the Rest of Us

702 Listeners

The Daily by The New York Times

The Daily

112,683 Listeners

Syntax - Tasty Web Development Treats by Wes Bos & Scott Tolinski - Full Stack JavaScript Web Developers

Syntax - Tasty Web Development Treats

983 Listeners

REWORK by 37signals

REWORK

210 Listeners

Remote Ruby by Chris Oliver, Andrew Mason

Remote Ruby

34 Listeners

My First Million by Hubspot Media

My First Million

2,633 Listeners

The Weekly Show with Jon Stewart by Comedy Central

The Weekly Show with Jon Stewart

10,910 Listeners

The Startup Ideas Podcast by Greg Isenberg

The Startup Ideas Podcast

206 Listeners

Breaking Change by Justin Searls

Breaking Change

12 Listeners

Dead Code by Jared Norman

Dead Code

0 Listeners

Rails Business by Brendan Buckingham & Ryan Frisch

Rails Business

0 Listeners

The Ruby AI Podcast by Valentino Stoll, Joe Leo

The Ruby AI Podcast

3 Listeners

On Rails by Rails Foundation, Robby Russell

On Rails

9 Listeners