Join Slack
Powered by
Are Coroutines Stackful, or stackless?
# coroutines
c
Christopher Hübner
02/05/2024, 1:56 PM
Are Coroutines Stackful, or stackless?
e
ephemient
02/05/2024, 2:08 PM
coroutines are rewritten by the compiler to continuation passing style, so stackless
ephemient
02/05/2024, 2:10 PM
Kotlin runs on platforms that don't natively support suspension so there isn't the possibility of stackful coroutines anyway
✅ 1
c
Christopher Hübner
02/05/2024, 2:14 PM
How are suspensional functions in a coroutines are procesed? (Round Robin, etc. )
k
kevin.cianfarini
02/05/2024, 2:15 PM
Dispatching coroutines is an implementation detail of a
Dispatcher
, and methods vary based on which dispatcher you use.
4
Views
Open in Slack
Previous
Next