~/talk

Gradual typing for Ruby at Scale with Sorbet

Talkat JVM Language Summit 2019 · 2019-07-29..07-31· [ruby]
slides:none on file

Sorbet is a gradual typechecker built for Stripe’s multi‑million‑line Ruby monorepo and it measurably improves developer workflow by providing fast batch and IDE responses while remaining open source. It implements a frozen global state with a compact symbol table, separates cheap syntactic index passes from a slower global resolver, compiles Ruby into a small control‑flow IR, and uses fuzzing plus sanitizers and many sanity checks. Performance targets include ~100k lines/sec per core (batch), 5–9 ms IDE responses and ~30 ms cold startup; resolver sits near 300 ms on a large repo.

AI-written summary · about

  1. 0:00Start
  2. 1:34Collaboration
  3. 3:19Fast
  4. 7:06Core datastructures
  5. 10:45Index phases
  6. 17:19Typecheck phases
  7. 24:51How do we test it?
  8. 29:08How do we test it: Sanity checks
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.