The Wait is Over: Foreign Function & Memory API brings modern Java to the Pi
summary
Pi4J moves from JNI/JNA and multi-layer native builds to a new Pi4J FFM plugin that runs on Java 25 with FFM API, removing C headers, Docker builds and extra JARs so maintenance and contributors see only Java code. Benchmarks show native memory access cuts copying and can be up to 11x faster for buffer updates. Live demos include blinking RGB LEDs, buttons, an ultrasonic distance sensor, LCD output and a Vaadin web UI served from a Raspberry Pi 5; examples run via JBang and the plugin is available now.
AI-written summary · about
chapters (13)
- 0:00Introduction and speaker intro
- 1:17Pi4J library and JNI challenges
- 8:18Project Panama and FFM API
- 13:38FFM API examples and performance
- 17:28Pi4J plugin with FFM API
- 20:44Pi4J FFM release and benefits
- 25:05CrowPi demo and Java on Raspberry Pi
- 28:54Blinking LED with Pi4J
- 31:04Distance sensor demo
- 32:50Vaadin UI on Raspberry Pi
- 36:30Live Vaadin demo
- 39:06Future of Java on Raspberry Pi
- 40:14Q&A session
related talks
16mHaving fun with Pi4J and JBang on the Raspberry Pi
46mRaspberry Pi with Java 9
44mBuilding Smart Devices using Java on the RaspberryPi-An intro to Pi4J.
36mHaving fun with Java and JavaFX on the Raspberry Pi
46mRunning JavaFX 11 on Embedded Devices: Challenge Accepted!
49mHaving fun with Java and JavaFX on the Raspberry Pi.
04mJavaOne Shanghai: Alex Mironenko
30mBinding Native Plugins with Flutter and Dart
