Java 19 and beyond | What's new in Java 19?

Sdílet
Vložit
  • čas přidán 21. 07. 2024
  • Java 19 is the next intermediate release on the way towards Java 21, the next long-term supported release of Java. The easiest way to prepare for Java 21 is to digest the big changes in little parts. I already made a video on Java 19 parallelism features (Project Loom, Structured Concurrency, and Virtual Threads) - see the link below. This video covers three other major features of Java 19, that come from project Amber and project Panama.
    Within this video, I'll cover why it's good to keep up with what's new in Java, and will explain what do Pattern Matching, Record Patterns, and Foreign Function And Memory API bring to the table - with code examples. I will cover the use cases, current state, and what to expect.
    As always, if you get value or entertainment from this video, click the thumbs-up button to like it, and drop any questions or comments below the video. If you like to stay tuned to the next videos, remember to also subscribe and click that bell icon for notifications on any future content.
    Timecodes:
    0:00 - What's coming up in Java 19?
    1:33 - How to run Java 19 code right now?
    2:32 - Java 19 Pattern Matching for switch (JEP 427, third preview, project Amber)
    4:52 - Java 19 Record Patterns (JEP 405, preview, project Amber)
    7:44 - JNI Rant and Java 19 Foreign Function And Memory API (JEP 424, preview)
    11:35 - How it all fits together, and why is it good to follow these already?
    Links:
    - • Java 19 And Beyond | N...
    - jdk.java.net/19/release-notes
    - download.java.net/java/early_...
    - www.happycoders.eu/java/java-...
    - social.ora.cl/6010Mpdz6
    - social.ora.cl/6015Mpdz1
    - social.ora.cl/6018Mpdzy
    - social.ora.cl/6010MpdzK

Komentáře • 6

  • @cleverson_lira
    @cleverson_lira Před rokem +4

    Thanks by your video.
    I love Records too.

    • @DevXplaining
      @DevXplaining  Před rokem +1

      Hi, thank you! Yeah, it's a small improvement, granted, but I use them every day, feel good about it, and small things tend to add up quickly. :)

  • @lovetyagi5266
    @lovetyagi5266 Před rokem +2

    Please make video on Java Concurrency and Non-blocking-IO

    • @DevXplaining
      @DevXplaining  Před rokem +1

      Thank you! Yes, that sounds like a good idea.

  • @MaryamMaqdisi
    @MaryamMaqdisi Před rokem +2

    Less boilerplate for Java is always welcome lol