News for hackers. Stuff that matters.
Re:One VM to Rule Them All [pdf] by mpweiher on Sunday August 18, 2013 @10:31AM (#6232761)
So what is the Substrate VM? The main presentation appears to be about Truffle, a language-implementation framework, which looks neat by itself.

The "Substrate VM Execution Model" slide talks about Ahead Of Time Compilation, which makes it sound like it might actually be the LLVM-based Substrate VM: http://vmkit.llvm.org. Alternatively, could it be a version of Maxine?

AOT as an option certainly sounds interesting...

Re:One VM to Rule Them All [pdf] by chrisseaton on Sunday August 18, 2013 @11:38AM (#6232943)
The SVM here is unrelated to the LLVM project. The SVM allows you to take a Java program (with some restrictions) and turn it into single static binary that is the JVM, libraries and the program all compiled and optimised together. So you can compile our Ruby implementation and get a ruby binary just like MRI - no JVM needed at runtime. Then startup time is about the same as MRI.
Re:One VM to Rule Them All [pdf] by acqq on Sunday August 18, 2013 @11:48AM (#6232976)
Which representation is used to produce the static binary? Is it a native binary? What is the backend? Gcc, LLVM?
Re:One VM to Rule Them All [pdf] by chrisseaton on Sunday August 18, 2013 @04:39PM (#6234135)
It's just a Java program that writes bytes to a file in the object format and machine code of whatever system you're targeting. It doesn't use any other assembler or compiler apart from Graal (which is also in Java).
Re:One VM to Rule Them All [pdf] by pjmlp on Sunday August 18, 2013 @11:32AM (#6232923)
Graal is Maxime's successor.

Oracle is planning eventually to replace the C++ based JIT with Graal in some version following 8.

Re:One VM to Rule Them All [pdf] by phwamgflw on Sunday August 18, 2013 @03:21PM (#6233792)
Source? I'd like to read up a bit more about this. Update: found this: http://lafo.ssw.uni-linz.ac.at/papers/2012_SPLASH_Truffle_Sl...
Re:One VM to Rule Them All [pdf] by pjmlp on Sunday August 18, 2013 @06:41PM (#6234585)
Re:One VM to Rule Them All [pdf] by ksec on Monday August 19, 2013 @12:30AM (#6235630)
No ByteCode in between, sounds a lot like v8, and incidentally that guy works on V8 previously.
Re:One VM to Rule Them All [pdf] by pron on Sunday August 18, 2013 @05:40PM (#6234349)
That is really, really, cool.