Finance Certifications Goldman Sachs and Amazon Teams Trust
Get 20% off all career paths from fullstack to AI
Overview
Google, IBM & Meta Certificates – 40% Off
One Coursera Plus subscription covers most Professional Certificates on Coursera.
Unlock All Certificates
This talk tests Java’s Foreign Function & Memory API as a possible replacement for JNI. It demonstrates native getpid calls using JNI and Panama, compares JNA and JNR, and presents benchmarks on OpenJDK 17.
Syllabus
Intro
Foreign Function Interface (FFI)
Java Native Interface (JNI)
Java Native Access (JNA)
Java Native Runtime (JNR)
Foreign-Memory Access API
Foreign Linker API
Foreign Function & Memory API
getpid with JNI
getpid with Panama (2 ways)
O Benchmark on OpenJDK 17
O Project panama current state
Taught by
Okta