Sorbet: A type checker for Ruby 3 you can use today!
summary
Sorbet is a fast incremental type checker for Ruby that Stripe builds, open sources and uses across a multi‑million‑line repo; a three‑engineer effort becomes required for every Stripe engineer and runs as editor autocomplete jump‑to‑def with red squiggles as you type. The project ships a browser sandbox sorbet.run sandbox, integrates with rails via sorbet‑rails and Parlour, and records real uptake — 800 pull requests and 135 contributors plus 117 typed gems — and reports faster feedback and fewer accidental breaks.
AI-written summary · about
chapters (24)
- 0:00Intro
- 0:31Outline
- 2:35Developer Productivity Survey
- 3:25What were our options
- 5:49Timeline
- 9:13Unfamiliar code
- 11:03Too long to get feedback
- 12:19Too easy to accidentally break things
- 13:16We built Sorbet
- 19:28Quick feedback
- 19:49Conclusion
- 20:02Ruby 3 Type Library
- 21:07Open Source Sorbet
- 22:13Contributors
- 23:12Coinbase
- 24:26Survey Rails
- 26:00Refactoring
- 26:40Smaller projects
- 27:21Go to definition
- 27:42Chain
- 30:32Thank you
- 31:02Questions
- 31:19Syntax
- 32:48Ruby Mind
related talks
48mGradual typing for Ruby at Scale with Sorbet
24mType Checking with Sorbet
31mStatic Type Checking in Rails with Sorbet
30mIntroducing Sorbet into your Ruby codebase
30mSorbet at Grailed: Typing a Large Rails Codebase to Ship with...
39mGradual typing of Ruby at Scale
32mGradual Typing in Ruby - A Three Year...
30mCompiling Ruby to Native Code with Sorbet & LLVM
