Hacker News new | past | comments | ask | show | jobs | submit login

The "compiled binary" I was referring to your compiled interpreter. The aot-image tools in the GraalVM distribution is just a bash script that sets up a bunch of options to control the AOT compiler (also called the boot image generator). If you look at the end of the aot-image script, you can see how the boot image generator is ultimately invoked. The output product of this script is a static binary of a Truffle language interpreter (we don't AOT guest programs -- those will be run in the AOT compiled interpreter)

Out of the box, the aot-image script has support for building Graal.js and TruffleRuby images/binaries, but you could modify the script to build whatever Truffle language you'd like. This is just our first release of the SVM and those are the two languages we've tested. As the SVM is fairly young and under active development, it's possible you'll encounter missing functionality. But we do have at least one community member on the graal-dev [1] mailing list trying it out.

I can't say whether the SVM will remain closed or not. I really don't know. There just currently aren't any plans to open it.

[1] -- http://mail.openjdk.java.net/pipermail/graal-dev/




> I can't say whether the SVM will remain closed or not. I really don't know. There just currently aren't any plans to open it.

Then there are no reasons to expect it to be open, as long as it's commercially viable to sell it. This is Oracle we're talking about. Not a company known for its love for F/OSS.


>"Then there are no reasons to expect it to be open, as long as it's commercially viable to sell it. This is Oracle we're talking about. Not a company known for its love for F/OSS."

It'd be a real shame if Oracle couldn't see the benefits of open-sourcing SVM. New companies are far less likely to base their tech stack on closed source components when more mature open-source competitors exist, there's too much risk involved.


Thanks, that makes a lot more sense. (I understood Substrate AOT'd the actual Truffle-based interpreter, not guest programs that run in that interpreter, but wasn't sure exactly what tooling you meant). I'll peek inside aot-image when I get a chance.

> I can't say whether the SVM will remain closed or not. I really don't know. There just currently aren't any plans to open it.

I'll keep my fingers crossed, then! SVM is honestly one of the most exciting components. So if I try it and I have any problems, I'll definitely let graal-dev know.




Consider applying for YC's W25 batch! Applications are open till Nov 12.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: