3 ms·
Nalim: Linking Java methods to native functions using JVM compiler interface
- tadfisher 4y agoThis is probably one of the fastest possible FFI solutions, but if you're already enabling experimental features, Project Panama [0] is already in preview and will likely become the dominant FFI mechanism on the JVM. [0]: https://openjdk.org/projects/panama/ https://openjdk.org/projects/panama/
- exabrial 4y agoInteresting, so the JDK is calling the JIT compiler, and it is emitting machine code completely unrelated to the Java source?