what is the future of Coroutines after release of ...
# coroutines
a
what is the future of Coroutines after release of Project Loom?
🔮 4
g
Do you mean in terms of JVM support? Because Project Loom works only for Java language and Kotlin Coroutines only for Kotlin
r
Kotlin coroutines are cross-platform, for starters. And for us Android folk, Kotlin coroutines will probably be our only option for utilizing structured concurrency.
l
Threads will become cheaper when being blocked while not doing computation. Other than that, we'll see.
a
i mean in terms of JVM support
g
I think it depends on final implementation of Loom, maybe something may be reused for Kotlin, maybe not
c
I can't see why coroutines wouldn't be updated to support Project Loom.
g
In general I agree with Corneil, Kotlin coroutines do not require any VM support
c
I see coroutines as a DSL to develop async and reactive code and underneath there is an implementation that takes care of business.
💯 1
m