In two weeks, #Java19 will be released with some of Java's most anticipated features: virtual threads and structured concurrency! 🤩 To make the best use of virtual threads, servers/frameworks need to support them - here's a list of those that do (reply with those I missed). 🧵
📣 All of this is still experimental! Virtual threads and the new APIs are (you need `--enable-preview` and the incubator module `jdk.incubator.concurrent` to use them) and so is support in these projects. You can help them mature over the next months by testing with your app.
The @JakartaEE server @TheApacheTomcat provided experimental support as a part of their 10.1.0-M16 release back in June, but there was a bug that broke HTTP/2 support if async IO was disabled. The unreleased 10.1.0-M17 will include a fix. Details: tomcat.apache.org/tomcat-10.1-do…
@nipafx Virtual threads are no doubt better threads. But they are still threads and do not solve the "Java multi-threading is not for the faint hearted" problem. Async/await would not be a replacement for threads but could be yet another tool available to programmers when needed. C# +1.