~/talk

An OCaml use case for strong call-by-need reduction

Talkat ML 2022 · on Thursday, 2022-09-15· [compilers-and-language-design]
links:none on file
links:none on file
slides:none on file

Describes a concrete OCaml-compiler change: a strong call-by-need reduction strategy for the module language, implemented as an evaluator inside the compiler written in OCaml. Shows it prevents module-representation blowups that previously produced megabyte-scale duplication, demonstrating orders-of-magnitude size reduction on pathological examples. Presents the actual implementation approach, integration points in the OCaml compiler, and end-to-end results that preserve semantics and compile existing code without regressions.

AI-written summary · about

  1. 0:00OCaml use case intro
  2. 5:06Hermine codebase specifics
  3. 6:06Spydes of shapes problem
  4. 8:19Module structure issues
  5. 12:15Normal form challenges
  6. 14:24Strong call-by-need reduction
  7. 15:44Call-by-need in practice
  8. 16:47Testing with evaluator
  9. 18:48Lady Fox solution
  10. 20:19Conclusion & Q&A
~/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.