4 ms·
I think the end goal is to implement the jvm as a bytecode interpreter on top of truffle/graal and export it as a standalone executable via svm. This also mean
by divs1210 9y ago
I think the end goal is to implement the jvm as a bytecode interpreter on top of truffle/graal and export it as a standalone executable via svm.
This also means that it will be easier to make vms with performance comparable to java.
One could, for example, design a functional bytecode and an svm based bytecode interpreter for it and write a language that compiles down to it to get a compiled language with a jitting (functional) vm!
- divs1210 9y agoYou could just write a svm-based interpreter directly too. I wonder what difference these 2 approaches would make. I'm guesing writing an interpreter directly would be better.