Virtual Thread vs NIO
Florian Schmaus
flow at cs.fau.de
Sat Nov 5 13:55:50 UTC 2022
On 05/11/2022 12.41, kronos72it wrote:
> Hi, I am reading https://openjdk.org/jeps/425
> <https://openjdk.org/jeps/425> with very interest and , perhaps I am at
> beginning ,I have a question.
> In "Improving scalability with the asynchronous style" section it mean
> that the news of Virtual Thread is Asynch mechanism related to dead
> times of IO .But I ask, doesn't this the same concept already present in
> NIO api ?
Yes, but NIO is significantly harder to use.
- Florian
More information about the loom-dev
mailing list