This is so sad! Compared to the other ones. We can...
# maintainers
r
This is so sad! Compared to the other ones. We can do better!
m
maybe it needs
pact-reference
->
some-intermediary
->
pact_jvm
y
Lets just make the Java cohert move from Java 8 to 21 and FFI allthethings https://docs.oracle.com/en/java/javase/21/core/foreign-function-and-memory-api.html
r
Java has had FFI support since 1997
y
They keep rebranding it
JNI, JNA, there was Panama recently
or different arms, same jumper, idk
or is this now panama that is in j21?
ahh they actually have arm64 binaries now for jextract https://jdk.java.net/jextract/ annoyingly it was x64 at the time when I last looked
r
JDK 21 change is more about safe functions and shared memory.
y
ahh h'oki, that makes sense, I remember seeing the memory session used in panama but I didn't really tickle it much, just tried to do the bare minimum in the different java ffi interop modes https://github.com/YOU54F/hello_ffi/blob/main/java/panama/Panama.java