Overview
Explore the power of Project Panama and the Foreign Function and Memory API (FFM API) in this 33-minute Devoxx conference talk. Discover how to seamlessly integrate system-level APIs and libraries written in languages like C, OpenGL, TensorFlow, Rust, and Python into your Java applications. Learn about the jextract tool, a valuable component of the FFM API finalized in JDK 22, which automates the process of accessing native code. Gain insights into parsing header files of native libraries and generating Java bindings using the FFM API. Walk through practical examples demonstrating the ease of working with jextract and directly utilizing its output as a Java model for native libraries. Unlock the potential to enhance your Java development by leveraging native code gems and transforming them into Java treasures.
Syllabus
From native code gems to Java treasures with jextract by Ana-Maria Mihalceanu
Taught by
Devoxx