FFM API — Nothing to Do with Radio
summary
Presentation explains the Java Foreign Function & Memory (FFM) API as an alternative for calling native code and managing off-heap memory outside the JVM. It describes why FFM was used in the development of Yandex Alice, how the team attempted to integrate it, the challenges encountered during adoption, and the outcomes and lessons learned.
AI-written summary · about
chapters (11)
- 0:00Introduction
- 1:03Speaker and topic
- 3:55Foreign Function & Memory API
- 8:33Arena and memory types
- 17:13Data types and memory layout
- 19:38Text normalization method
- 25:26String handling and API limits
- 31:40Heap memory and critical calls
- 37:25Protobuf example and date comparison
- 41:03Summary and future use
- 44:14Q&A
related talks
47mInterconnecting Java and Native Code with the FFM API
51mNative Interoperability with JDK 25 and the FFM API
16mForeign Function and Memory API
45mProject Panama - Foreign Function & Memory API
49mWhen a Java Programmer Meets C
47mDevelopers, Start Your nginx!
01h 01mJava Enable Preview: Foreign Function and Memory Interface
46mBare Metal Java
