---
id: ruby-conf-2021
title: Compiling Ruby to Native Code with Sorbet and LLVM
sidebar_label: RubyConf 2021
---

**Date**: November 10, 2021\
**Speakers**: Jake Zimmerman, Trevor Elliott

- [→ Talk page](https://rubyconf.org/program/sessions#session-1171)
- [→ Video](https://www.youtube.com/watch?v=BH8S1htcHXY)
- [→ Slides](https://sorbet.run/talks/RubyConf2021/#/)

## Abstract

At Stripe, “make it faster!” is one of our most requested features, but we don’t want to have to pause work on other features to get speed. Instead, we’ve built an ahead-of-time compiler for Ruby, powered by Sorbet and LLVM, focusing on improving latency in Stripe’s multi-million line Ruby code base.

In this talk, we’ll cover why we built it, how it works, and share preliminary results from compiling Stripe’s production Ruby code. It’s not quite ready for prime time yet, but we’re interested in sharing our approach and getting early feedback on the design.
