Overview
Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Explore how the Foreign Function & Memory (FFM) API in Java 22 revolutionizes hardware programming on the Raspberry Pi through this 48-minute conference talk from Devoxx. Discover how FFM simplifies the integration between Java and native code, replacing the complex Java Native Interface (JNI) and Java Native Access (JNA) implementations that have historically made supporting new hardware challenging in the Pi4J library. Learn about the significant performance improvements achieved through reduced memory copying and less interop code, while understanding how this modern approach enables fewer dependencies, smaller JAR footprints, support for more protocols, and compatibility with additional System-on-Chips (SoCs). Follow along with live demonstrations showing how to control LEDs, read button inputs, interface with LCD displays, and collect sensor data using JBang single-file example applications. Gain practical insights into how FFM makes hardware interaction as intuitive as standard Java programming, preparing you to begin your own IoT and embedded systems experiments immediately. Perfect for Java developers interested in Internet of Things applications, embedded systems, and hardware programming who possess basic Java knowledge but need no prior experience with Pi4J or electronics.
Syllabus
The Wait is Over: Foreign Function & Memory FFM API brings modern Java to the Raspberry Pi by Fran
Taught by
Devoxx