News for hackers. Stuff that matters.
Re:Java Virtual Threads: A Case Study by xxs on Wednesday July 17, 2024 @03:11AM (#40983311)
>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)

Re:Java Virtual Threads: A Case Study by kaba0 on Wednesday July 17, 2024 @02:49PM (#40989053)
Virtual threads literally replace the “blocking” IO call issued by the user, by a proper NIO call, mounting the issuer virtual thread when it signals.