Giter VIP home page Giter VIP logo

java19's Introduction

Java CI

Schedule

  • 2022/08/25 Final Release Candidate
  • 2022/09/20 General Availability

Java 19 Features

  • JEP 405: Record Patterns (Preview)
    • Enhance the Java programming language with record patterns to deconstruct record values.
    • see example RecordPatternMatching.java
  • JEP 422: Linux/RISC-V Port
    • Port of the JDK to Linux/RISC-V Architecture.
  • JEP 424: Foreign Function & Memory API (Preview)
    • Introduce an API by which Java programs can interoperate with code and data outside of the Java runtime. Combination of 2 APIs introduced in previous JDKs:
    • Foreign-Memory Access API (incubator in 14, 15 and 16)
    • Foreign Linker API (incubator in 16)
    • see example ForeignFunctionAndMemoryAPI.java
  • JEP 425: Virtual Threads (Preview)
    • Virtual threads are lightweight threads that dramatically reduce the effort of writing, maintaining, and observing high-throughput concurrent applications.
    • see example VirtualThreads.java
  • JEP 426: Vector API (Fourth Incubator)
    • see example Scalar.java
    • update to third incubator:
      • Enhance the API to load and store vectors to and from MemorySegments as defined by JEP 424: Foreign Function & Memory (FFM) API (Preview).
      • Add two new cross-lane vector operations, compress and its inverse expand, together with a complementary vector mask compress operation.
      • Expand the supported set of bitwise integral lanewise operations.
  • JEP 427: Pattern Matching for switch (Third Preview)
    • see example SwitchPatternMatching.java
    • The main changes since the second preview are:
      • Guarded patterns are replaced with when clauses in switch blocks.
      • The runtime semantics of a pattern switch when the value of the selector expression is null are more closely aligned with legacy switch semantics.
  • JEP 428: Structured Concurrency (Incubator)
    • Simplify multithreaded programming by introducing an API for structured concurrency. Structured concurrency treats multiple tasks running in different threads as a single unit of work, thereby streamlining error handling and cancellation, improving reliability, and enhancing observability.
    • see example StructuredConcurrency.java
Other References

java19's People

Contributors

xtermi2 avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.