Hyperfunctions
This is interesting. See the paper Hyperfunctions: Communicating Continuations by Donnacha Oisín Kidney and Nicolas Wu.
We use this framework to solve a long-standing problem: giving a fully-abstract continuation-based semantics for a concurrent calculus, the Calculus of Communicating Systems. Finally, we use hyperfunctions to build a monadic Haskell library for efficient first-class coroutines.
There' a POPL'26 talk on YouTube but they make you watch tons of ads.
See also:
- Categories of Processes Enriched in Final Coalgebras by Sava Krstić, John Launchbury & Duško Pavlović.
- Faster coroutine pipelines by Michael Spivey.
- Continuations and transducer composition by Olin Shivers and Matthew Might.
Subscribe to ACM SIGPLAN.
Comments
Post a Comment