Leon Brocard posted this to perl6-internals and after a conversation with Hugo, it got me thinking. Parrot allows you to load up opcode libraries on demand, and does lexically scoped opcode libraries. What if we...
Wrote a set of opcode functions for the JVM ops (there are only 250 or so)
Taught the interpreter how to shim properly between Parrot and non-Parrot subs and methods
Made dynamically loadable bytecode loaders with some sort of fingerprinting type detection
Implemented at least some of the JNI interface?
Scared yet? (And here I thought the big use of loadable opcode libs would be the builtin rezrov interpreter....)