Native Interoperability with JDK 25 and the FFM API @java
Native Interoperability with JDK 25 and the FFM API  @java
Uploaded May 2026 | Updated November 2026, 1 week ago
The Foreign Function & Memory API (FFM) was finalized in JDK 22 and has undergone several performance improvements. JDK 25 is the first release that includes the FFM API and has broad long-term support. Learn how this allows us to avoid the previously slow, brittle, and complex process of using JNI and ByteBuffers. Instead, we can manage native memory and link native libraries directly from our favorite programming language, Java.

Get a deep dive with live coding showing how to specify, allocate, and work with native memory and how to link and call native functions. We'll also demo how to use the automatic binding generator tool `jextract` to effortlessly generate Java bindings to the ONNX Runtime, the open standard for machine learning models.

Whether you're an architect rethinking cross-platform integration or eager to conduct AI inference in Java, this talk is for you. Finally, we can say hello to high-performance native Java integration and wave goodbye to JNI.

Presented by Per-Ake Minborg (Oracle) at JavaOne 2026 (CA, March 2026).

All youtube.com/playlist?list=PLX8CzqL3ArzUMVSzm-z_-if8BIB55EGl4 talks.

➠ openjdk.org/jeps/454
➠ github.com/minborg/java-one-2026
➠ github.com/openjdk/jextract/tree/master/samples/onnx

Tags: #Java #JavaOne #JVM #JDK

LRN1354 18 203 F
Native Interoperability with JDK 25 and the FFM APIWhat is flattenning? - Cracking the Java Coding Interview #javalanguage #javacoding #javatipsFrom #Java to C and Back #CodingHow can you use Stream.peek()? - Cracking the Java Coding Interview #javacoding #javatipsReflective Final Field Mutation in #Java 26 #IJN #CodingLook Inside a Large Language Model to Become a Better Java DeveloperHow can you run a parallel Stream in a specific pool of threads?  - #java #javacoding #javatipJDK 27 + Valhalla, Now! + Hackathon - Inside Java Newscast #113Carrier Classes & Discussing Syntax [AtA] Inside Java Podcast 52What is jlink?  - Cracking the Java Coding Interview #javalanguage #javacoding #javatipsHow does the Collectors.teeing() work? - Cracking the Java Coding Interview #javacoding #javatipsWhat is the difference between equals() and compareTo()? #javalanguage #javacoding #javatips
Java |

Native Interoperability with JDK 25 and the FFM API

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER