Graal/Truffle Release 0.2

Andreas Woess andreas.woess at jku.at
Wed Mar 26 12:23:31 UTC 2014


While we're at it, let me also remind you about a Truffle API change in 0.2:
If you haven't already migrated, the adoptChild and adoptChildren
methods have been deprecated (soon to be removed now). You can use
Eclipse's Inline Method feature to remove all usages at once: Select
adoptChild in Node, then Refactor - Inline (shortcut: Alt+Shift+I).
Calls to adoptChild after node creation, i.e. outside the node
constructor need to use the new 'insert' method instead. Note that
adoption now happens not until a call target is created.

If you have any problems migrating, feel free to contact me off list.

- andreas

On 26.03.2014 09:55, Bernhard Urban wrote:
> Hi all,
>
> in order to make the life easier for external Truffle implementations, we
> introduced a release model for Graal and Truffle some weeks ago.  The idea
> is to release a truffle.jar which is in sync with a Graal enabled VM in
> terms of API.  Yesterday we made version 0.2:
> http://lafo.ssw.uni-linz.ac.at/builds/
>
> JRuby for example is one such external user: They specify the Truffle API
> as dependency in Maven [1, 2].  In order to get high performance you also
> need to run it with a Graal enabled JVM [3].
>
> Although those images are primarily intended for Truffle development, one
> can also use them to run normal Java applications with Graal.  However,
> keep in mind that Graal is still experimental, i.e. don't use it for
> production mode.
>
> Have fun,
> Bernhard
>
> [1] https://github.com/jruby/jruby/blob/master/pom.xml#L30
> [2] https://github.com/jruby/jruby/blob/master/core/pom.xml#L204
> [3] https://github.com/jruby/jruby/wiki/Truffle#running-with-graal
>



More information about the graal-dev mailing list