Links from the YavaConf talk 'Foreign Function & Memory (FFM) API on Raspberry Pi'
These are the links from the Ya!vaConf virtual talk on December 4, 2025: “Java Champion Talk - How the new Foreign Function & Memory API pushes Java on Raspberry Pi to the next level”.
Talk Description
The new Foreign Function & Memory (FFM) API, available since JDK 21, promises to provide a much easier way to directly interact with memory and external libraries. The Pi4J project needs this functionality to provide access to the GPIOs of a Raspberry Pi. Thanks to the FFM API and a new plugin, Pi4J can be made a lot simpler and better!
Links Used During The Talk (and More…)
- How Java evolves
- Project Panama
- https://openjdk.org/projects/panama/
- Foreign-Memory Access API
- Foreign Linker API
- Foreign Function & Memory API
- Jextract
- Vector API
- Java 11 versus 25 code examples
- https://www.jbang.dev/
- Memory management
- Pixelbuffer example
- Native calls
- Pi4J
- Fixing the Raspberry Pi 5 Problem
- Integrating the FFM API
- Pi4J Code > FFM Plugin
- Soon available
- Elecrow CrowPi
- Code and Demo
- Vaadin Code and Demo
- What’s next?