~/talk

A Plan towards Ruby 3 Types

Talkat EuRuKo 2019 · 2019-06-21..06-22· [ruby]
slides:none on file

A new Ruby Type Profiler implements an abstract interpreter that runs on test executions, records argument and return types, and emits Ruby signature files; early naive runs took ~10 minutes on benchmarks but after a state-merging optimization it analyzes itself in 2.5 seconds and optcarrot in 6 seconds. It finds undefined-method and union-type bugs, suggests signatures, but requires tests to exercise methods, loses variable correlations (over-unioning), and struggles with dynamic send targets.

AI-written summary · about

  1. 0:00Introduction
  2. 3:54Goals of Ruby 3
  3. 5:10The Plan
  4. 10:35Review
  5. 11:25Use Cases
  6. 14:07Current Plan
  7. 14:55Type Profiler
  8. 18:39State Explosion Problem
  9. 24:44Problems
  10. 26:34Development Status
~/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.