Y
Hacker News
new
|
ask
|
show
|
jobs
by
stefs
1350 days ago
i'd be interested in this too. my guess: virtual threads are slightly more memory efficient and slightly faster, but same ballpark.
1 comments
stefs
1347 days ago
now that i think about it i'm pretty sure my guess is completely wrong. memory usage (and thus concurrent-inactives) might be similar, but i expect the virtual threads to be much more efficient.
link
stefs
1346 days ago
except if you use the appropriate non-blocking methods! with blocking io, kotlin coroutines are just running in a thread pool.
link