Let's Talk About Foreign Functions In Java - FOSDEM'22 - by Deepu K Sasidharan
Channel: OktaDev
Date: 2022-02-07

Java 17 finally gave us the first incubator of Foreign Function & Memory API. In this talk, I do a test drive of what is in store and see if it is good enough to replace JNI. To be honest, JNI is controversial and not that secure. I believe 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 benchmarks as well.

Originally presented by Okta Developer Advocate Deepu K Sasidharan at FOSDEM'22 in February 2022 (https://fosdem.org/2022/schedule/event/foreignfunctions/)

Shared under CC BY-SA license (https://creativecommons.org/licenses/by-sa/2.0/)

#Java #FFI #Panama #JNI #C

__

Don't forget to subscribe to our channel and hit the notification bell so you never miss an upload: https://bit.ly/OktaDevYouTube

---

Okta is a developer API service that stores user accounts for your web apps, mobile apps, and APIs.

* Sign up for Okta for free at https://developer.okta.com/signup/
* For more info visit us at https://developer.okta.com/
* Developer Blog: https://developer.okta.com/blog/
* Follow us on Twitter: https://twitter.com/oktadev
* Follow us on FB: https://www.facebook.com/oktadevelopers/
* Follow us on LinkedIn: https://www.linkedin.com/company/oktadev

Soundtrack: Electronic Ambient Loop (https://freesound.org/people/tyops/sounds/484301/#) by tyops. CC Attribution 4.0 License (https://creativecommons.org/licenses/by/4.0/).