- Advertisement -spot_img
Wednesday, September 28, 2022

Oracle confirms Java 19 availability

Oracle has announced that Java 19 is now available, the latest version of the Java programming language and development platform, with a new version released every six months. The arrival of this version also requires its launch JDK 19 Development Kit, which answers the seven JDK enhancement proposals. Java 19 has many improvements in performance, stability and security.

JDK 19 includes language enhancements within the OpenJDK Ember project, such as registration patterns and pattern matching for expressions and switch statements. To also improve interoperability with non-Java code and take advantage of vector instructions (Vector API) in the framework of the OpenJDK Panama project.

It also includes the first scenes from the Loom project, in which virtual threads and structured concurrency, The former will make it easier to write and maintain high-performance concurrent applications in Java. The second optimizes error handling and cancellation, improves reliability and observability by simplifying multi-threaded programming and treating multiple tasks running in different threads as a single unit of work.

Language updates and improvements

the first is JEP 405: Registration Pattern (Preview). This will allow users to nest records and type patterns. In this way they will be able to use a powerful, declarative and modular navigation and data processing system. This expands the possibilities of pattern matching to allow for greater sophistication and modularity in data queries.

refering to JEP 427: Pattern matching for switch expressions and statements (third preview); Allows pattern matching for expressions and switch statements. This is because Java 19 makes it easier for these expressions and statements to test against different patterns.

library equipment and ports

JEP 424: Memory API and External Functions (Preview), allows Java programs to more easily interoperate with external code and data outside the Java runtime. By efficiently calling external functions and safely accessing external memory, the API enables Java programs to call native libraries and process native data with a Java-only development model. This leads to greater ease of use and improves performance, flexibility and security.

On the other hand, JEP 426: API Vector (Fourth Incubation) enables greater performance than equivalent scalar computations by expressing vector computations that reliably compile to vector instructions at runtime on supported CPU architectures.

For ports, JEP 422: Puerto Linux/RISC-V Determining whether to integrate the port into the main JDK repository makes it easier to implement Linux/RISC-V more easily.

In addition to these improvements, Java 19 is now Compatible Choice Java Management ServiceA native Oracle Cloud Infrastructure (OCI) service that provides a single pane of glass to help businesses manage Java applications and runtimes in cloud and on-premises environments.

World Nation News Desk
World Nation News Deskhttps://worldnationnews.com/
World Nation News is a digital news portal website. Which provides important and latest breaking news updates to our audience in an effective and efficient ways, like world’s top stories, entertainment, sports, technology and much more news.
Latest news
Related news
- Advertisement -

LEAVE A REPLY

Please enter your comment!
Please enter your name here