Per-Åke Minborg from Oracle presented new advancements at JavaOne 2025 regarding the Foreign Function & Memory API (FFM) in pure Java. This API aims to replace the Java Native Interface (JNI) with a more efficient, pure Java solution. Minborg introduced various components like MemorySegment, Arena, and MemoryLayout to demonstrate better memory and function access. The new API promises safe, efficient access to native memory and functions, improving upon JNI’s limitations. Additionally, the 'jextract' tool for generating Java bindings was showcased.
Sort: