5 ms·
Modern Java does support directly calling C functions, with structs. And also upcalls back to java. All without any JNI style preprocessing or stubs. https://d
by gmokki 3y ago
Modern Java does support directly calling C functions, with structs.
And also upcalls back to java.
All without any JNI style preprocessing or stubs.
https://docs.oracle.com/en/java/javase/21/core/calling-c-library-function-foreign-function-and-memory-api.html https://docs.oracle.com/en/java/javase/21/core/calling-c-lib...
- spintin 3y agoHm, ok I have Arrays of 64 byte atomic Structs defined in C and I want to iterate over them in Java, is that possible with the Memory API?