| ▲ | gavinray a day ago | |||||||
This article specifically discusses calling external C ABI libraries via the FFM API. GraalVM is for compiling JVM bytecode to native, architecture-specific binaries. FFM is like "[DllImport]" in .NET, or "extern" definitions in other languages. The article shows how to auto-generate JVM bindings from C headers, and then allocate managed memory + interact with externally linked libs via the FFM API passing along said managed memory. | ||||||||
| ▲ | fniephaus a day ago | parent | next [-] | |||||||
BTW: We (the GraalVM team) maintain a full-blown LLVM bitcode runtime that can be embedded in Spring or any other JVM application and compiled to native: https://github.com/oracle/graal/tree/master/sulong | ||||||||
| ||||||||
| ▲ | namegulf a day ago | parent | prev [-] | |||||||
Don't we have JNI for that? | ||||||||