Hey. Question. Because coroutines at the end of th...
# coroutines
o
Hey. Question. Because coroutines at the end of the day call "continuation.setValue()" how it is organised on the stack. Wouldn't it end on stackOverflowException ? If I would implement CPS using kotlin I would end up with full stack? Can I do CPS in kotlin, or I need to play carefully with tale call optimization?
e
o
"The actual implementation of the suspending function is not allowed to invoke the continuation in its stack frame directly because that may lead to stack overflow on long-running coroutines" So Do I undersatnd correctly that this is taken care by compiler under the hood to avoid stack overflows?
e
Yes
o
quick personal question. How do you manage to be everywhere? Slack, Forum, Work, Conferences, KATEGORY lib etc? 🙂 Do you sleep? Or you use coroutines for your own existence?
e
That is an illusion