3 ms·
Graal’s truffle runtime works basically as an AST interpreter, so you have to ship the LLVM bitcode. I have yet to get my feet wet with sulong, but my guess wo
by kaba0 4y ago
Graal’s truffle runtime works basically as an AST interpreter, so you have to ship the LLVM bitcode.
I have yet to get my feet wet with sulong, but my guess would be that LLVM will produce different bitcode on different platforms, and thus the execution can potentially be different - also note that llvm bitcode is not a stable format. But I don’t think that interpreting it on a different platform than it was compiled on would have a fundamental reason not to work (after all, it is just java code) - perhaps it uses the platform llvm libs for some parsing, which is not platform-agnostic?