logoalt Hacker News

taericyesterday at 5:27 PM1 replyview on HN

Delimited continuations always bounced off of me. In theory, they should be a lot like coroutines? I think, in practice, I just never really internalized all that goes into managing the current "environment" for a piece of code that is managed by the call state.

Like, I have a few partial mental models for everything that they pull together. I haven't really tried to build on that, though. Should put some time to that.


Replies

mikkupikkuyesterday at 5:29 PM

You could implement coroutines with deliminated continuations, which is probably the best way to use deliminated continuations.

show 1 reply