~/talk

Practical TypeProf: Lessons from Analyzing Optcarrot

Talkat RubyKaigi 2026 · 2026-04-22..04-24· [ruby, testing]
slides:none on file

TypeProf applied to Optcarrot (a 6,000-line NES emulator) finds 669 false-positive errors initially and is driven to zero by a mix of targeted RBS at bottlenecks and small code fixes: adding three RBS hooks around memory access and one-line nil→0 initialization drops errors dramatically. Total edits are 122 lines (55 changes, 67 additions). Comparison: Steep ~1,429 lines, Sorbet ~1,248 lines. TypeProf on Optcarrot 669 → 0 errors 122-line patch AI finds key points but misses one bug

AI-written summary · about

  1. 0:00Introduction and announcements
  2. 2:17What is TypeProf
  3. 9:38Applying TypeProf to Optcarrot
  4. 18:23Reducing false positives
  5. 22:50Comparison with other type checkers
  6. 25:04TypeProf in the AI era
  7. 30:14Future work and conclusion
~/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.