Are Kotlin coroutines stackless or stackful? I'm honestly not fully understanding the difference. From what I gather, Kotlin coroutines seems to be stackful, since you can suspend in deeply-nested functions. In the other hand, it sounds like stackful coroutines allow suspending in any arbitrary nested function call, not just one marked with
suspend
. In other words, it sounds like Java's Loom is stackful, while Kotlin's
suspend
is stackless.