
About this episode
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.
Get every episode summarized
Each time Inside Java publishes, we email you a written briefing from the transcript — the topics, who appeared, and any specific claims, with the ad reads skipped.
Email me new episodesFree for 3 shows. No card needed.
Hosts & guests
No transcript yet
This episode has not been transcribed. Request it and it moves to the front of the queue.
More episodes
More from Inside Java

"Make Java Safer with Flexible Constructor Bodies" [IJN]
Inside Java

"Ask the Architects at JavaOne'26" [AtA]
Inside Java

"You Must Avoid Final Field Mutation" [IJN]
Inside Java

"How JDK 26 Improves G1's Throughput" [AtA]
Inside Java