~/talk

Free Variable as Effect, in Practice

Talkat HOPE 2023 · on Monday, 2023-09-04· [compilers-and-language-design]
links:none on file
slides:none on file

Proposes that treating free variables as algebraic effects gives practical wins: a tagless-final compiler prototype emits runnable wasm module and x86 code, performs on-the-fly variable-usage analysis and incremental error reporting, and avoids building full closures for open terms. The prototype compiles nested functions, runs in the browser, and already reports type and code-gen issues earlier than usual pipelines; memory/closure overhead is reduced in practice (promising but still under evaluation). Tools: tagless-final style, algebraic effects, wasm backend.

AI-written summary · about

  1. 0:00Free variable effects
  2. 1:04Teaching compiler class
  3. 6:44Primitive variables and environments
  4. 12:22Free variable as effect
  5. 17:46Compiler demo with diagnostics
  6. 23:46Key insights and future work
  7. 26:13Q&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.