News for hackers. Stuff that matters.
Re:Understanding How Graal Works – A Java JIT Compiler Writt... by divs1210 on Sunday November 05, 2017 @01:05PM (#15630656)
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!

Re:Understanding How Graal Works – A Java JIT Compiler Writt... by divs1210 on Sunday November 05, 2017 @01:26PM (#15630767)
You 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.