4 ms·
>I’d say that writing single-threaded code is far easier for _all_ people, even async code experts :) While 'async' is just a name, underneath it's epoll - and
by xxs 2y ago
>I’d say that writing single-threaded code is far easier for _all_ people, even async code experts :)
While 'async' is just a name, underneath it's epoll - and the virtual threads would not perform better than a proper NIO (epoll) server. I dont consider myself an 'async expert' but I have my share of writing NIO code (dare say not terrible at all)
- kaba0 2y agoVirtual threads literally replace the “blocking” IO call issued by the user, by a proper NIO call, mounting the issuer virtual thread when it signals.