Online / 5 & 6 February 2022


Let's Talk About Foreign Functions In Java

Java 17 finally gave us the first incubator of Foreign Function & Memory API. Let's do a test drive of what is in store and see if it is good enough to replace JNI. Let's be honest, JNI is not that secure and is controversial and it's high time we move away from it and adopt FFI like in many other modern languages. But is the new API enough or do we need to consider external libraries like JNA or JNR-FFI? I'll showcase some examples of using the new API with some of my other favorite languages.


Photo of Deepu  K Sasidharan Deepu K Sasidharan