01Chapter 1: Why the FFM API and how it differs from JNIThe Foreign Function and Memory (FFM) API, final in Java 22, lets Java call native functions and access off-heap memory without writing JNI glue code. JNI usually requires Java declarations, generated headers, and native C or C++ implementations. FFM describes native symbols, memory, and C types dir2 min read
03Chapter 3: Working with C stringsAssume Java 22 or later, basic MethodHandle knowledge, and familiarity with C pointers, function signatures, and null-terminated strings.2 min read