Virtual Thread vs NIO

kronos72it kronos72it at gmail.com
Sat Nov 12 18:42:36 UTC 2022


Cool, thanks!

Il giorno sab 5 nov 2022 alle ore 14:55 Florian Schmaus <flow at cs.fau.de> ha
scritto:

> 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
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/loom-dev/attachments/20221112/f7c0ee64/attachment-0001.htm>


More information about the loom-dev mailing list