~/talk

scip-ruby - A Ruby indexer built with Sorbet

Talkat RubyConf 2022 · 2022-11-29..12-01· [ruby, typescript]
links:none on file
slides:none on file

scip-ruby is an open source indexer that uses Sorbet to produce IDE features like Go to definition and Find usages across repos and gems; the implementation is ~2000 lines with ~1500 snapshot tests and runs as an ahead-of-time index uploaded per commit to Sourcegraph. a one-line hack forces Sorbet to emit control‑flow graphs for untyped files and surprisingly makes navigation work across partially adopted codebases. expect scip-ruby to be a Sorbet‑based indexer, force Sorbet to type check untyped files, and to power precise cross‑repo queries.

AI-written summary · about

  1. 0:00scip-ruby introduction
  2. 3:29Indexer role in navigation
  3. 5:54Building scip-ruby on Sorbet
  4. 8:00Sorbet internals integration
  5. 12:56Sorbet control flow graph
  6. 15:00Precise index emission
  7. 18:09Simplifying compiler complexity
  8. 19:10Untyped Ruby handling
  9. 21:36Snapshot testing
  10. 22:38Try scip-ruby today
  11. 24:01Q&A
~/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.