Sorbet

Sorbet

  • Get started
  • Docs
  • Try
  • Community
  • GitHub
  • Blog

›Talks

Talks

  • RubyKaigi 2018
  • Strange Loop 2018
  • RubyKaigi 2019
  • Curry On! 2019
  • JVM Language Summit 2019
  • RubyConf 2019
  • RubyConf 2021
Edit

Compiling Ruby to Native Code with Sorbet and LLVM

  • → Talk page
  • → Video
  • → Slides

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.

← RubyConf 2019
  • Abstract

Get started · Docs · Try · Community · Blog · Twitter