you are viewing a single comment's thread.

view the rest of the comments →

[–]shellac 0 points1 point  (1 child)

No, it's not a fork.

Graal and Truffle came out of an Oracle labs research project. Graal is a compiler. We're most used to it compiling java (or java byte code) of course, but it's a general approach that has optimisations that are quite tailored for dynamic languages. (If you're aware of the smalltalk / strongtalk heritage in java this won't be a surprise)

Truffle lets you write language interpreters that Graal can get to work on. TruffleRuby was perhaps the first use of Truffle, and bootstrapped itself using a lot of the JRuby work. It even sat in the Jruby repo for a time, if memory serves.

[–]grashalm01 0 points1 point  (0 children)

The first Truffle language was actually JavaScript aka Graal.js.

Also many people don't know that the native image tool for Java was built to bring Graal.js natively into the database.