~/talk

A metalanguage for multi-phase modularity

Talkat ML 2021 · on Thursday, 2021-08-26· [compilers-and-language-design, software-architecture]
links:none on file
links:none on file
slides:none on file

Proposes a metalanguage that lets the compiler inline representations without breaking programmer abstractions by indexing types and judgments in a phase lattice and introducing partial singleton types that collapse only in the compile-time phase. Adds a phase modality and a ceiling modality plus a correctness fracture condition that reconstructs types from their phase pieces. Demonstrates DNS header parsing where compiler obtains unboxed equality for codegen while source-level abstraction remains, and reports a prototype in Cool TT and several formal applications (normalization, parametricity, cost reasoning).

AI-written summary · about

  1. 0:00Intro
  2. 0:49Separate compilation vs. inlining
  3. 2:42Type synonyms and singleton kinds
  4. 3:56Example: abstract types and the need for inlining
  5. 4:56Singleton (kinds/types) are not enough
  6. 5:30Why do we (programmers) use abstraction?
  7. 6:31Why do compilers break abstraction?
  8. 7:25Reynolds' Dictum and the Phase Distinction
  9. 8:06Revisiting the static/dynamic phase distinction
  10. 10:05The phase distinction between compilation and programming
  11. 11:21Example: unboxed representations without losing abstraction
  12. 12:36A metalanguage for multi-phase modularity
  13. 13:47Another example: a phase distinction for debugging
  14. 15:26Prospects 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.