Let's Talk About Foreign Functions In Java - FOSDEM'22 - by Deepu K Sasidharan

Опубликовано: 07 Февраль 2022
на канале: OktaDev
2,454
34

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/even...)

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

#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:   / oktadev  
Follow us on FB:   / oktadevelopers  
Follow us on LinkedIn:   / oktadev  

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