Is there any benefits of using virtual threads exe...
# coroutines
p
Is there any benefits of using virtual threads executor (Loom) for JVM target (Java version >= 21) as Dispatchers.IO ? If yes, is there any plans to implement it?
s
It's a little old now, but the latest I remember hearing about it was this talk:

https://www.youtube.com/watch?v=zluKcazgkV4

🙏 1
h
I read a more recent post (can't find it) that while it doesn't make sense to use a VT executor for suspended code, it's a perfect replacement for the IO dispatcher, which is limited and would effectively block the thread