~/talk

Inline RBS comments for seamless type checking with Sorbet

Talkat RubyKaigi 2025 · 2025-04-16..04-18· [ruby, documentation]
slides:none on file

Announces a working pipeline that lets Sorbet typecheck Ruby files with RBS comments instead of sig calls, translating comments into injected sig AST nodes before desugaring so the rest of Sorbet is unchanged. Shopify scales it across a 75,000 file monolith, 1.5 million methods, and reports near parity with existing coverage and only a small perf overhead now being optimized. Provides an automated migrator via spoom srb_translate and LSP support for highlighting, plus a dev‑only runtime reinjection option.

AI-written summary · about

  1. 0:00Motivation and context
  2. 2:32Sorbet and syntax challenges
  3. 7:02Design of RBS comments
  4. 12:41Implementation details
  5. 17:43Advanced features and usage
  6. 23:50Migration, tools, and drawbacks
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.