3 ms·
Java 24 already? What’s the standout feature this time—anything that makes it worth upgrading from 21? Always cool to see how it keeps evolving.
by learncomputer 2y ago
Java 24 already? What’s the standout feature this time—anything that makes it worth upgrading from 21? Always cool to see how it keeps evolving.
- MarkMarine 2y agoMy favorite is the stream gatherers, an addition to the stream processing API that will let streams do things like sliding windows. https://docs.oracle.com/en/java/javase/22/core/stream-gatherers-01.html https://docs.oracle.com/en/java/javase/22/core/stream-gather... Ahead Of Time (AOT) linking is nice as well, should cut down cold start time.
- fiddlerwoaroof 2y agoAre record patterns stable yet?
- Tomte 2y agoJava releases are timeboxed, so they don't need standout features.
- smallmancontrov 2y agoOoh, looks like they sync up with years going forward. That's... actually really quite nice. https://www.java.com/releases/matrix/ https://www.java.com/releases/matrix/
- samus 2y agoIt's just a coincidence. There are two releases per year. JDK 27 will be released in September 2026.
- skerit 2y agoNot for long. JDK 27 is coming out in September 2026
- znpy 2y agothat would actually be cool and useful. the development team could either lengthen or shorten a couple of development cycles to stay in sync with the years.
- samus 2y ago- If you're using virtual threads you must have been pining (pun intended) for freeing up the carrier thread when a virtual thread waits for a `synchronized` lock. - Stabilized FFI library - Unnamed variables and patterns - Always improvements to GCs and the runtime. Compact Object Headers v2 might be worthwhile on non-critical systems even though it's still experimental.