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:

Albert Chang

11/19/2021, 4:19 AM
There are already some discussions on this: 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.

Roeniss Moon

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