Loading native libraries in #Java got easier! 🚀

Foreign Function and Memory API makes it simple to access native code, and with #jextract, you can generate Java bindings for libraries written in C, OpenGL, Rust, Python, and more!
#ProjectPanama #Devoxx2024

https://youtu.be/RW6t0KA27q8

Jextract - Java Treasures from Native Code Gems

YouTube

Building a functional #jextract for #Java 22 does only work with clang+llvm-13.0.1. Later versions of clang+llvm lead to jextract generating weird anonymous record names.

See: https://bugs.openjdk.org/browse/CODETOOLS-7903480 #FFM

Loading...