Virtual Thread vs NIO

kronos72it kronos72it at gmail.com
Wed Nov 9 08:27:57 UTC 2022


Cool, thanks! I will stay tuned !
Just another question , does Virtual T are already in place inside JDK 19 ?

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/20221109/e1dde0e0/attachment.htm>


More information about the loom-dev mailing list