~/talk

(TOPLAS) Type-Safe Compilation of Dynamic Inheritance via Merging

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

A compiler for the CP language compiles dynamic inheritance via a merge operator into runtime extensible records with mangled type labels, proving type safety in Coq and targeting JavaScript. The implementation includes coercion elimination and other CP-specific optimizations; benchmarks show optimized CP within about 1.1–2× of handwritten JavaScript on most cases (worst about 3×), and orders-of-magnitude faster than a naive merge compilation. The paper, prototype compiler, benchmarks and Coq formalization are available.

AI-written summary · about

  1. 0:00Dynamic inheritance problem
  2. 1:28Type safety in JavaScript mixing
  3. 4:23Trait merging for type safety
  4. 7:39Family polymorphism and expression problem
  5. 9:05Extensible records compilation
  6. 12:16Benchmarking performance results
  7. 13:24Conclusion and future work
~/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.