Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Interconnecting Java and Native Code with the FFM API

Java via YouTube

Overview

Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Learn to bridge Java applications with native libraries using the Foreign Function & Memory Access API (FFM API) introduced in Java SE 22 in this 47-minute conference talk. Discover how the FFM API eliminates the traditional challenges and safety concerns of accessing foreign memory and invoking foreign functions from Java code. Explore the three-step approach that reduces impedance mismatch between Java and native libraries: modeling off-heap memory regions as memory segments, describing and linking native functions through rich APIs, and utilizing the jextract tool to automatically generate FFM API artifacts for native library access. Examine fundamental FFM principles through practical demonstrations of Java integration with native graphic libraries and AI frameworks. Gain insights into how this API transforms the previously difficult and unsafe process of working with code and memory outside the JVM into a more accessible and secure development experience.

Syllabus

Interconnecting Java and Native Code with the FFM API

Taught by

Java

Reviews

Start your review of Interconnecting Java and Native Code with the FFM API

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.