In this shorter-format pod, Chad talks about JDK 24, preview features, and more.
Â
Show Notes
JEP 11: Incubator Modules https://openjdk.org/jeps/11
JEP 12: Preview Features https://openjdk.org/jeps/12
Using the Preview Features Available in the JDK https://dev.java/learn/new-features/using-preview/
JEP 483: Ahead-of-time Compilation https://openjdk.org/jeps/483
JEP 485: Stream Gatherers https://openjdk.org/jeps/485
JEP 491: Synchronize Virtual Threads without Pinning https://openjdk.org/jeps/491
JEP 494: Module Import Declarations (Second Preview) https://openjdk.org/jeps/494
JEP 495: Simple Source Files and Instance Main Methods (Fourth Preview) https://openjdk.org/jeps/495
The Foreign Function and Memory API https://dev.java/learn/ffm/
Â
The Foreign Function and Memory API will be finalised in JDK 22. This API helps you integrate native code within your Java program.Â
Using this new API you can efficiently invoke code outside the JVM, safely access memory not managed by the JVM, call native libraries and process native data without the brittleness and danger of JNI.
Jorn Vernee, core contributor and maintainer of the FFM API, is Ana’s guest during this episode. Jorn explains what is the Foreign Memory Access API, its goals and the iterations that this API went through. Jorn also shares a few examples of Java libraries that already adopted the FFM API, the performance improvements they observed. He also explains how you can use this new API to integrate a native library within your own Java code.
Sequenced Collections, targeted for JDK 21, are a new collection type created to represent a sequence of elements with a defined encounter order.
Ana recorded this episode with Stuart Marks, the owner of JEP 431 about Sequenced Collections. Stuart discusses the essence of Sequenced Collection interfaces, what needs those address and how they fit within the existing Collections framework. He explains the design of Sequenced Collections, architectural decisions and particularities of the API. He also shares his view on how Sequenced Collections can inspire future Java platform developments.
Preview Features have been essential to the delivery of Java for the past 5 years, and Java 20 is no exception with second previews of both Virtual Threads and the Foreign Function & Memory API.
Chad discussing the importance of Preview Features with Alex Buckley, as well as an Informational JEP that added some further clarification for Preview Features with large surface areas.
Some show notes:
JDK 20 is out today: https://openjdk.org/projects/jdk/20/
JEP 12: Preview Features https://openjdk.org/jeps/12
A look ahead: https://openjdk.org/jeps/8300604
Â
Helidon NĂma is the first Java microservices framework built from the ground up on virtual threads.
David recorded this episode with Tomas Langer, the Helidon architect. Tomas discusses virtual threads from a framework developer point of view. He explains NĂma, its architecture and how virtual threads fit in. He also shares his views on virtual threads and some behind the scenes details and how it all started.
In this episode, David discusses with Gavin Bierman, the latest evolution in the Java Language. In addition to being a regular guest on this podcast, Gavin spends most of his time on designing new Java language features.
They are chatting about Project Amber's latest features related to Pattern Matching but also the String Template feature currently in draft. Through this discussion, you will also hear about some of the tools (ex. Preview Features) but also the challenges related to the design of new Java Language features.
During JavaOne, David sat down with Kevin Rushforth (OpenJFX Project Co-Lead, Oracle) to discuss the JavaFX, OpenJFX and the new JavaFX builds that Oracle is now producing.
In this two-part episode, Chad interviews Ron Pressler, architect and lead for Project Loom, on Virtual Threads and Structured Concurrency, followed by Brian Goetz, Chief Language Architect, on Record Patterns and the arc of features in Project Amber leading to data-oriented programming.
Show notes:
Â
Chad interviews Sharat Chander about both the history of JavaOne, and what to expect with the return of it in October. Show notes:
Update blog series on Inside.java
Register Now to get Early Pricing
Â
In this episode, David talks with Erik Ă–sterlund about the work he did on the Z Garbage Collector, and the plans to make ZGC a Generational GC. Amongst other things, Erik shares some details on the underlying techniques, and the expected benefits.
In this special episode Chad talks with Naoto Sato on JEP 400, UTF-8 by Default, and Michel Trudeau on JEP 413, Code Snippets in Java API Documentation.
To round things out, we also pulled in highlights from podcast episodes 21 and 22 to provide an overview of JEP 408, Simple Web Server, and JEP 421, Deprecate Finalization for Removal.
Check out Java 18 today at Dev.java!
Â
Your feedback is valuable to us. Should you encounter any bugs, glitches, lack of functionality or other problems, please email us on [email protected] or join Moon.FM Telegram Group where you can talk directly to the dev team who are happy to answer any queries.