How to use NestedVM
If you do a google search for "call native code from java" then you'll get results for the Java Native Interface (JNI) and a few about Java Native Access (JNA). These tools combine native code and Java code in a way that makes the JVM susceptible to crashing from memory access errors in native code. Nothing comes up in a search for "JNI alternatives", but what if we could simply emulate a CPU with Java and run binary code? Or can binary code be converted to Java bytecode? Tur