~/talk

Gradual typing of Ruby at Scale

Talkat Strange Loop 2018 · 2018-09-26..09-28· [ruby]
slides:none on file

Stripe builds a Sorbet typechecker for its million‑line Ruby mono repo, choosing a gradual nominal manifest type system with control‑flow dependent smart casts and runtime checks that remain. Tooling includes a metaprogramming serializer to capture dynamic methods and an automated sig guesser. Deployment uses a 60‑day dark launch and CI gating; performance hits ~100k lines/sec per core and scales to 64 cores. Outcome: about 70% typed files and roughly 50% call‑site coverage, so it works at scale.

AI-written summary · about

  1. 0:00Start
  2. 5:14Development
  3. 14:48Compatible with Ruby • Works with existing tools: editors, linters &.etc
  4. 17:15Adoptable gradually: runtime typechecking
  5. 31:46Practical experience
~/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.