~/talk

Type Profiler: An analysis to guess type signatures

Talkat RubyKaigi 2018 · 2018-05-31..06-02· [machine-learning, ruby]
slides:none on file

Prototype extracts type stubs from real Ruby code using static heuristics and a dynamic run tracer, implements three prototype profilers (two static, one dynamic), and integrates experiments with RDL and the TracePoint API. Results show the dynamic profiler is robust but initially takes hours on large suites; sampling reduces that to minutes. Major failures are ambiguous or unused parameters, void/any return issues, and a sparse type database that produces many incorrect or missing signatures.

AI-written summary · about

  1. 0:00Introduction
  2. 5:24Ruby 3 type system
  3. 7:51Existing type systems
  4. 10:01RDL basics and implementation
  5. 18:03RDL implementation thoughts
  6. 23:25Type definition file challenges
  7. 26:50Type Profiler overview
  8. 30:21Static analysis challenges
  9. 34:31Dynamic analysis implementation
  10. 38:34Summary and future outlook
~/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.