~/talk

The Simple Essence of Monomorphization

Talkat OOPSLA 2025 · 2025-10-16..10-18· [compilers-and-language-design]
slides:none on file

Presents a type-flow directed monomorphization that duplicates declarations by collecting type-flow constraints, solving them with a fixed-point graph algorithm, and specializing code; it handles higher-rank and existential types and yields a type-preserving, stepwise semantics-preserving translation. Polymorphic recursion shows up as growing cycles (infinite solutions) and is rejected; a novel failure mode for existentials is named polymorphic packing. Implementation and reusable artifacts are provided, but the approach forbids separate compilation.

AI-written summary · about

  1. 0:00Monomorphization problem
  2. 1:06Basic monomorphization examples
  3. 3:16Type-flow directed monomorphization
  4. 5:23Higher rank types handling
  5. 7:29Polymorphic recursion limits
  6. 9:15Growing cycles in constraints
  7. 9:56Implementation and results
  8. 10:39Q&A: constraint solver
  9. 11:43Q&A: related work
  10. 12:04Q&A: recursion approaches
  11. 12:46Q&A: whole-program limits
  12. 13:27Closing remarks
~/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.