~/talk

Lexical Effect Handlers, Directly

Talkat OOPSLA 2024 · 2024-10-20..10-25· [compilers-and-language-design]
name:Cong Ma
links:none on file
links:none on file
links:none on file
slides:none on file

Compiles lexically scoped algebraic effect handlers down to low-level stack switching and header frames, identifying handlers by memory address so handler lookup and continuation capture are constant-time handler lookup. The compiler called Lexa emits assembly sequences that allocate handler header frames, swap stack pointers for capture, and use a single-element tuple token to disallow reuse, giving a linear scaling runtime where prior systems show polynomial or quadratic cost. Formal semantic preservation is proved and artifacts and benchmarks are available.

AI-written summary · about

  1. 0:00Lexical effect handlers intro
  2. 1:03Operational semantics
  3. 2:09Scalability issues
  4. 3:34Compilation strategy
  5. 5:23Compiling to assembly
  6. 7:32Execution in assembly
  7. 11:01Handler optimizations
  8. 11:43Laxa compiler overview
  9. 13:10Benchmark results
  10. 14:21Q&A on multi-shot resumptions
~/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.