Second Draft: Coroutines

Quirin Schroll qs.il.paperinik at gmail.com
Thu Jan 23 16:33:49 UTC 2025


On Thursday, 12 December 2024 at 10:36:50 UTC, Richard (Rikki) 
Andrew Cattermole wrote:
> Stackless coroutines

I might want to say, the term confused me quite a while. That’s 
because the coroutine does have a stack (its own stack). I 
thought it would somehow not have one, since it’s called 
“stackless,” but it just means its stack isn’t the caller’s 
stack. That fact was kind of obvious to me, since that’s what 
“coroutine” meant to me already. In my head I don’t see how a 
coroutine could even work otherwise.

Maybe it’s a good idea to call the proposal “Coroutines” and omit 
“stackless.”




More information about the dip.development mailing list