~/talk

Optimizing and Evaluating Transient Gradual Typing

Talkat DLS 2019 · on Sunday, 2019-10-20
links:none on file
links:none on file
links:none on file
slides:none on file

Gradual typing for Python via Reticulated Python inserts many lightweight runtime checks and shows up to a 6× slowdown on CPython as programs go from dynamic to static. A static analysis implements type inference that solves subtyping and new check constraints to delete redundant checks; applied to 10 benchmarks (random samples across typing lattices) it removes most overhead. Running the optimized output on a PyPy tracing JIT yields average overhead under 1%, showing the technique is effective.

AI-written summary · about

  1. 0:00Intro
  2. 0:39Gradual typing combines static and dynamic typing soundly
  3. 3:30Transient gradual typing pervasive lightweight checks
  4. 5:20Reticulated Python: Gradual Typing for Python
  5. 8:16Experimental methodology
  6. 10:20Checks exist in static code
  7. 11:19Generate constraints
  8. 13:24Solve constraints
  9. 14:57Check removal
  10. 17:24Reticulated Python on a tracing JIT
  11. 17:59Performance across the lattice with PyPy
  12. 18:52PyPy performance across benchmark lattices
  13. 20:24Performance summary
  14. 21:30Conclusions
~/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.