r/java • • Sep 20 '22

Java 19 / JDK 19: General Availability

https://mail.openjdk.org/pipermail/jdk-dev/2022-September/006933.html
252 Upvotes

64 comments sorted by

View all comments

90

u/Joram2 Sep 20 '22

Congrats Java team!

  • Virtual threads delivered. They are like Goroutines but the Structured Concurrency API really makes it better. Will any of this be out of preview for the next LTS release?

  • Amber is making amazing progress. The exhaustiveness checker still needs improvement, but great job.

  • Panama looks awesome for projects that have to interop outside of the JVM

If Valhalla really delivers in Java 20 or 21 and value/primitive types provide performance improvements, that will be a home run for the Java team.

-22

u/metatron7471 Sep 20 '22 edited Sep 21 '22

Valhalla in JDK 20???? Keep on dreaming. More likely in JDK 200 or JDK never. It has only taken 8 years to get to a tentative proposal... Let's wait at least another decade for an actual full implementation. By then probably won't matter anymore since most people won't program in Java anymore.

In comparison java closest rival outside the JVM C# has had value objects (structs) for a long time.

16

u/tristan97122 Sep 20 '22

Why so angry lol

JDK 20 is out of the question indeed, but they’re clearly getting closer, especially with this release bringing Loom in mainline and so many Valhalla related JEP activity recently