ICFP 2025
Sun 12 - Sat 18 October 2025 Singapore
co-located with ICFP/SPLASH 2025
Mon 13 Oct 2025 11:15 - 11:40 at Orchid West - Implementation Chair(s): KC Sivaramakrishnan

While enabling use cases such as backtracking search and probabilistic programming, multiple resumptions have the reputation of being incompatible with efficient implementation techniques, such as stack switching.
This paper sets out to resolve this conflict and thus bridge the gap between expressiveness and performance.
To this end, we present a compilation strategy and runtime system for lexical effect handlers with support for multiple resumptions and stack-allocated mutable state.
By building on garbage-free reference counting and associating stacks with stable prompts, our approach enables constant-time continuation capture and resumption when resumed exactly once, as well as constant-time state access. Nevertheless, we also support multiple resumptions by copying stacks when necessary.
We practically evaluate our approach by implementing an LLVM backend for the Effekt language.
A performance comparison with state-of-the-art systems, including dynamic and lexical effect handler implementations,
suggests that our approach achieves competitive performance and the increased expressiveness only comes with limited overhead.

Mon 13 Oct

Displayed time zone: Perth change

10:50 - 12:05
ImplementationICFP Papers / JFP First Papers at Orchid West
Chair(s): KC Sivaramakrishnan IIT Madras and Tarides
10:50
25m
Talk
Environment-Sharing Analysis and Caller-Provided Environments for Higher-Order Languages
ICFP Papers
J. Carr University of Chicago, Benjamin Quiring University of Maryland at College Park, John Reppy University of Chicago, Olin Shivers Northeastern University, Skye Soss University of Chicago, Byron Zhong University of Chicago
DOI
11:15
25m
Talk
Multiple Resumptions and Local Mutable State, Directly
ICFP Papers
Serkan Muhcu Technische Universität Berlin, Philipp Schuster University of Tübingen, Michel Steuwer Technische Universität Berlin, Jonathan Immanuel Brachthäuser University of Tübingen
DOI
11:40
25m
Paper
OCaml Blockly
JFP First Papers
Kenichi Asai Ochanomizu University
DOI