Learn what’s going on with Valhalla, Panama, Loom, and Amber |
|
Week of February 21, 2022 |
|
|
|
|
Let’s talk about Valhalla—and Panama, Loom, and Amber. Those are the four major initiatives, regularly discussed in Java Magazine, that can shape the platform’s future.
As we prepare for Java 18’s launch next month, and the arrival of Java 19 in September, Nicolai Parlog gives a backstage tour. Some of the things you’ll read about
- Valhalla: Value classes and primitive classes
- Panama: Vector API, Foreign Function and Memory API, and jextract
- Loom: Lightweight virtual threads and structured concurrency API
- Amber: Patterns for switch, refining patterns, deconstruction patterns, and custom patterns
What do you think of these four initiatives? Will they make your life easier as a Java developer, or do they not address challenges you care about? Write to me at javamag_us@oracle.com.
Take care, Alan Zeichick Editor in Chief, Java Magazine @zeichick
P.S. Developer Live: Java Innovations is a free online event March 22 and March 24. There will be many sessions focused on Java 18 and its specific JEPs—from technical sessions and birds-of-a-feather sessions to live hands-on labs by Oracle and industry experts. Registration is now open. |
|
The newest Java Magazine articles |
Java’s evolution into 2022: The state of the four big initiatives Java 18 (as JDK 18) will be generally available on March 22, 2022, and Java 19 will be finished in September. These releases continue the evolution of four main initiatives: projects Valhalla, Panama, Loom, and Amber. Nicolai Parlog talks about the current state and short-term goals of each of these projects.
Understanding the constant pool inside a Java class file One of the most important sections of a class file is the constant pool, which contains the names of classes that are referenced, initial values of strings and numeric constants, and other data crucial to correct execution. You can learn a lot by examining the constant pool, as Andrew Binstock explains.
Sentiment analysis in Java: Analyzing multisentence text blocks This is the second article in Yuli Vasiliev’s series on performing sentiment analysis in Java using the Stanford CoreNLP open source library. The first article showed how to determine the sentiment of a single sentence; here, Yuli shows several algorithms for analyzing arbitrarily sized text blocks such as product reviews or user stories.
Synchronization in Java, Part 2: The synchronized keyword Cay Horstmann’s first article about thread synchronization covered the fundamentals of race conditions, lock objects, condition objects, and the await, signal, and signalAll methods. This article continues the discussion by addressing intrinsic locks, the synchronized keyword, synchronized blocks, ad hoc locks, and the concept of monitors. |
|
Information goes in, information goes out |
Read or reread these Java Magazine articles on input/output.
|
|
Complimentary subscription to Java Magazine |
Java Magazine is a deep dive into Java and the JVM. Find detailed explanations about the language and the platform written by experts and members of the Java development team.
Join a quarter of a million subscribers in getting useful, authoritative programming information delivered directly to your inbox. |
|
|
|
|