https://kotlinlang.org logo
Title
r

Roeniss Moon

11/19/2021, 3:12 AM
Just quick and broad question — would Virtual Thread change Coroutine implementation? Seems like VT would be GA in 3 years: https://openjdk.java.net/jeps/8277131
a

Albert Chang

11/19/2021, 4:19 AM
There are already some discussions on this: https://discuss.kotlinlang.org/search?q=loom tl;dr:
The basic answer from JB team is usually: “we’ll see”. Depending on how it will look like, Loom could be added as one of possible dispatchers. Some other changes could be done as well. The general consensus is that loom and coroutines solve different problems and they do not contradict to one another.
r

Roeniss Moon

11/19/2021, 1:27 PM
@Albert Chang Thank you so much! Have a great weekend :)