Online Summit for Java devs'22

May 11 - 12, 2022

Deepu K Sasidharan will be doing a talk titled "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 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 also showcase some examples of using the new API and some benchmarks.