~/talk

Writing Ruby Scripts with TypeProf

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

TypeProf is a Ruby whole-program type-inference engine with a VS Code extension that shows inferred return types, go-to-definition and rename refactors, and a browser build (TypeProf.wasm in browser) running on RubyWasm. The codebase is about 9,000 lines and has received 100+ pull requests. Recent features add diagnostic severity control and analysis-unit sharding to scale toward 100k+ lines. Two tricky bugs appear: constant lookup/inclusion can trigger infinite re-analysis, so the analyzer stops tracking some include/inline cases to avoid nontermination.

AI-written summary · about

  1. 0:00Introduction and self-intro
  2. 3:01Announcing TypeProf
  3. 6:17What is TypeProf
  4. 7:21Demo of TypeProf in VS Code
  5. 12:03TypeProf evolution and RBS
  6. 15:21Setting up TypeProf
  7. 17:32Diagnostic severity settings
  8. 20:50Analysis unit feature
  9. 24:40RBS and scalability
  10. 25:00Ruby constant lookup complexity
  11. 27:50Infinite loop bug in TypeProf
  12. 30:18Solving the infinite loop issue
  13. 31:01Future of TypeProf and closing
~/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.