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

You could argue that coroutines as originally specified implied stackless-ness: it was just a generalization of a subroutine that could return (to its immediate caller) multiple times, so at most one stack frame need to be preserved.

A better name for stackful coroutines is one-shot continuations.



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

Search: