Fri 19 Jun 2026 17:10 - 17:30 at Flatirons 4 - Runtime Memory and Control Abstractions Chair(s): Michael D. Bond

Effect handlers and multishot continuations are powerful abstractions for managing control flow; together, they offer concise and modular ways to express and handle nondeterminism, randomness, and more. However, implementing multishot continuations in the presence of stack-allocated lexical resources—lexical effect handlers in particular—is challenging, since stack copying invalidates references to these resources.

We present a novel implementation strategy for lexical effect handlers that fully supports multishot continuations. The key idea is to virtualize the stack space used by continuations. Each stack-allocated handler instance is assigned a virtual address, and all effect invocations through these virtual addresses are mediated by an address translation mechanism. A software-based memory management unit in the runtime system performs these translations efficiently, exploiting the lexical scoping discipline of effect handlers.

We capture the essence of our approach via a new operational semantics for lexical effect handlers and prove it correct with respect to the standard semantics. We also implement it in a compiler and runtime system. Compared to prior languages with lexical effect handlers, our implementation increases expressivity by fully supporting multishot continuations—and, as a happy consequence, unlocks significant performance gains by enabling parallel execution of multishot continuations.

Fri 19 Jun

Displayed time zone: Mountain Time (US & Canada) change

16:10 - 17:30
Runtime Memory and Control AbstractionsPLDI Research Papers at Flatirons 4
Chair(s): Michael D. Bond Ohio State University
16:10
20m
Talk
Revisiting Partial Tracing for Safe, Efficient, and Concurrent Garbage Collection in Unmanaged Languages
PLDI Research Papers
Jeonghyeon Kim KAIST, Jongse Park KAIST, Youngjin Kwon KAIST, Jeehoon Kang FuriosaAI
DOI Pre-print
16:30
20m
Talk
Dynamically Checked Deep Immutability in Python
PLDI Research Papers
Fridtjof Stoldt Uppsala University, Sylvan Clebsch Microsoft Azure Research, Matthew A. Johnson Microsoft Azure Research, Matthew J. Parkinson Microsoft Azure Research, Tobias Wrigstad Uppsala University
DOI
16:50
20m
Talk
FlexHeap: Dynamic I/O-Aware Heap Resizing for Managed Applications
PLDI Research Papers
Iacovos G. Kolokasis Foundation for Research and Technology Hellas; University of Crete, Shoaib Akram Australian National University, Foivos Zakkak Red Hat, Polyvios Pratikakis Foundation for Research and Technology Hellas; University of Crete, Angelos Bilas Foundation for Research and Technology Hellas; University of Crete
DOI Media Attached
17:10
20m
Talk
Virtualizing Continuations
PLDI Research Papers
Cong Ma University of Waterloo, Jonghyun Jung University of Waterloo, Yizhou Zhang University of Waterloo
DOI