|
|
Subscribe / Log in / New account

JDK 21 released

JDK 21 released

Posted Sep 25, 2023 3:24 UTC (Mon) by ssmith32 (subscriber, #72404)
In reply to: JDK 21 released by calumapplepie
Parent article: JDK 21 released

Not terribly modern, it's been in and out of languages (including Java), libraries, and operating systems for a long time now.

But it is a useful addition, particularly to stave off the various problems that come with "async" libraries in Java (in quotes, because the main implementation of the Flow API - reactive - is just an awkward interface to a Netty event loop on top of a thread pool). I've been stuck using those for a variety of reasons for a bit, and the problems called out in the JEP are very real (and just the start).

In addition, they are going to get a lot more useful when paired with Structured Concurrency, which is still in preview:

https://docs.oracle.com/en/java/javase/21/core/structured...


to post comments


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds