Live stream with Nick Gritsenko. We'll talk about the Foreign Function and Memory (FFM) API that got introduced in Java 22, and how it was used to create a new plugin for the Pi4J library. This will help to bring electronics programming with Java to many more boards and help to simplify the Pi4J project.
Pi4J Website: https://www.pi4j.com/
Pi4J on GitHub: https://github.com/Pi4J/
Pi4J JBang examples: https://github.com/Pi4J/pi4j-jbang
Pi4J joins Commonhaus: https://www.pi4j.com/blog/2026/20260227-pi4j-commonhaus/
Prepare Raspberry Pi for Java development: https://www.pi4j.com/prepare/
Examples by Nick:
qsort: https://dev.java/learn/ffm/upcall/
Pi4J: https://github.com/Pi4J/pi4j/tree/develop/plugins/pi4j-plugin-ffm/src/main/java/com/pi4j/plugin/ffm/common
Book written by Frank: https://webtechie.be/books/
FFM article by Frank: https://webtechie.be/post/2026-01-05-ffm-api-openjdk-pi4j/
Download
0 formats
No download links available.
Controlling Electronics with Java 25 and the FFM API using Pi4J V4 | NatokHD