stackless
# coroutines
p
stackless
đźš« 1
e
That is not true for a usual definition of stackless/stackfull coroutine.
p
Could you elaborate or clarify?
e
A usual definition of stackless is that “a coroutine can be suspended only in inside one function” and stackful is that “a coroutine can be suspended at arbitrarily deep call”. For Kotlin coroutines the later is true. If you use a different definition of stackless/stackfull, your answer will be different. It does not really matter, though, because stackless coroutines easily emulate stackfull.
p
So depending on whether you define stackful/stateful by implemention/features the answer could be different and this is why you called it a false dichotomy in your talk?
e
Yes
p
Got it, thanks!