~/talk

Affect: An Affine Type and Effect System

Talkat POPL 2025 · 2025-01-19..01-25
links:none on file
links:none on file
slides:none on file

Affect introduces Affine types to statically distinguish one-shot versus multi-shot effect continuations, implements a small language called Affect with ML references and effect handlers, and mechanizes a semantic type-soundness proof via a logical relation in Iris/Coq. It adapts Rust’s Cell-like references and Wadler’s use types to allow storing one-shot continuations safely (replace API) and to support bounded polymorphism; a concrete counterexample shows a common optimization turning UNO into DUO changes collect_all’s result from [false, true] to [false, false], so the system enforces at-most-once resumption and comes with reusable artifacts.

AI-written summary · about

  1. 0:00Affect system intro
  2. 1:01Effects and handlers
  3. 3:49Multi-shot effect problems
  4. 5:59Unsound ref optimizations
  5. 7:23Affine type solution
  6. 8:49Combining features challenges
  7. 10:13Contributions and formalization
  8. 12:21Polymorphism constraints
  9. 14:46Proving type safety
  10. 17:00Questions and discussion
~/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.