~/talk

Effectful Assembly Programming with AsmFX

Talkat HOPE 2024 · on Monday, 2024-09-02· [compilers-and-language-design]
links:none on file
links:none on file
name:Ian Stark
links:none on file
slides:none on file

AsmFX proposes a six‑instruction extension (enter, do, return, exit, resume, break) plus re-enter/final-re-enter and shallow variants to implement effect handlers directly on conventional machines. It models handler state as a contiguous effect context block that stores closure-like records and saved registers, enabling fine‑tail resumptive handlers, parameterized state, recursion by using the context as a call stack, and multi‑shot resumptions. A prototype exists and the specification shows exactly how contexts and continuation records are pushed, duplicated, restored, and jumped to.

AI-written summary · about

  1. 0:00AsmFX and effect handlers
  2. 1:11Effect handlers in hardware
  3. 3:21Terminology and fragments
  4. 5:38ASM FX instruction set
  5. 7:49Budget handler example
  6. 9:38Abstract machine and context
  7. 15:14Beyond tail-resumptive
  8. 16:16Saving registers in handling
  9. 18:52Parameterized handlers
  10. 21:04Recursion with effect handlers
  11. 22:09Multi-shot resumptions
  12. 24:40Resumption instructions summary
  13. 25:43Conclusion and future
  14. 27:10Q&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.