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?
"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?
10/31/2017, 2:03 PM
11/07/2017, 12:35 PM
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?