Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

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

Search: