Главная
Study mode:
on
1
Intro
2
Foreign Function Interface (FFI)
3
Java Native Interface (JNI)
4
Java Native Access (JNA)
5
Java Native Runtime (JNR)
6
Foreign-Memory Access API
7
Foreign Linker API
8
Foreign Function & Memory API
9
getpid with JNI
10
getpid with Panama (2 ways)
11
O Benchmark on OpenJDK 17
12
O Project panama current state
Description:
Explore the evolution of foreign function interfaces in Java in this 31-minute conference talk from FOSDEM'22. Dive into the new Foreign Function & Memory API introduced in Java 17, comparing it with existing solutions like JNI, JNA, and JNR-FFI. Examine the potential of this incubator API to replace JNI, addressing security concerns and modernizing Java's approach to interacting with native code. Learn through practical demonstrations, including implementations of getpid using both JNI and Project Panama. Gain insights into performance implications with presented benchmarks and understand the current state of Project Panama. Whether you're a Java developer interested in native code integration or curious about the language's future direction, this talk provides a comprehensive overview of Java's foreign function capabilities.

Foreign Function and Memory API in Java 17 - Replacing JNI

Okta
Add to list