Hacker News new | past | comments | ask | show | jobs | submit login
Representing Control in the Presence of One-Shot Continuations (1996) [pdf] (indiana.edu)
17 points by noelwelsh 11 months ago | hide | past | web | favorite | 1 comment

Recently there have been a few posts on coroutines on the front page (here's one: https://news.ycombinator.com/item?id=16947033). This paper provides the background to implement coroutines, as one-shot continuations are coroutines (see "Revisiting Coroutines" for more on the relationship.)

A few points I took away:

- the linked post above had the basic ideas correct

- the details are fairly involved, though

- there is a lot of prior work that be leveraged if anyone is attempting an implementation

Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | Legal | Apply to YC | Contact