Re:How to Use the Foreign Function API in Java 22 to Call C ...
by dehrmann on Thursday May 09, 2024 @01:38AM
(#40305579)
Not sure if this is still the case, but one of the Java Sqlite driver used something called NestedVM to run Sqlite in the JVM when a native library wasn't available. It worked by cross-compiling the code to mips, then transpiling the mips assembly to Java byte code. I can't remember if it bridged system calls or libc calls to Java for things like file IO.
[ Parent
| on HN ]
There are no comments on this comment yet.