3 ms·
Can't Rust just use the OS to start a JVM?
by tormeh 12y ago
Can't Rust just use the OS to start a JVM?
- the_why_of_y 12y agoIt's definitely possible to bootstrap the JVM in-process but there are quite some steps to it and it requires a bunch of platform dependent code to locate and load the library via LoadLibrary(jvm.dll) / dlopen(libjvm.so). IIRC the JNI functions all have C linkage so it should be easy to do from Rust.