Skip to content

Comment on C++ Coroutine Theory (2017)parent

Comments

It's interesting that people refer the same thing with "generators", "semicoroutines" or "stackless coroutines". (A resumable computation that doesn't have a growable stack)

On the other hand, "stackful coroutines" and "coroutines" without a qualifier often refers things with dynamically growing stacks.

It seems to me that the C++ Coroutines refer to the former, which likely complicates the terminology further.

They are all specific restrictions on and/or implementations details of delimited continuations anyway :).

Because coroutines are the building blocks of generators.

Being stackless is an implementation detail, even if a relevant one.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.