~/talk

A Big-Step Compositional Continuation-Passing Semantics for WebAssembly

Talkat WAW 2025 · on Monday, 2025-01-20· [webassembly, compilers-and-language-design]
links:none on file
links:none on file
links:none on file
slides:none on file

Presents a compositional CPS semantics for a WebAssembly subset that replaces the official small-step reduction with a big-step, tail-recursive interpreter that encodes block/loop/br/call/return via a trail of continuations. Implements the semantics as an executable Scala parser/interpreter and models tail calls and resumable exceptions (effects); ongoing validation against the official WebAssembly test suite is underway. Claims easier equational reasoning and straightforward compilation to lambda CPS; no mechanized correctness proof yet, but a paper is accepted and the implementation runs examples.

AI-written summary · about

  1. 0:00WebAssembly semantics intro
  2. 1:11Limitations of reduction semantics
  3. 2:58Continuation passing style for WebAssembly
  4. 3:41Subset covered
  5. 4:22Core CPS interpreter
  6. 6:53Blocks and branching semantics
  7. 9:02Loops and jumps semantics
  8. 10:27Function calls in CPS
  9. 11:54CPS semantics properties
  10. 12:56Extensions and future work
  11. 13:38Tail call optimization
  12. 14:43Equational reasoning
  13. 16:27Resumable exceptions
  14. 18:15WAM effects in CPS
  15. 19:18Mechanization and validation
  16. 19:40Summary and conclusion
  17. 20:44Q&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.