Re:Graal and Truffle could accelerate programming language d...
by jakub_h on Tuesday July 19, 2016 @07:15PM
(#12125672)
Since you mention OMeta, let me remark here that for some reason, this whole Graal+Truffle thing looks to me like an "enterprisey" version of OMeta+COLA.
Re:Graal and Truffle could accelerate programming language d...
by Veedrac on Tuesday July 19, 2016 @09:35PM
(#12126274)
RPython is very similar to Graal+Truffle, except that RPython is based on tracing and Graal+Truffle is based on partial evaluation.
There's a nice paper comparing the two approaches and their relative merits:
http://stefan-marr.de/papers/oopsla-marr-ducasse-meta-tracin...
I agree there is a lot of interesting stuff going on here but lets not forget the prior art. Even OMeta I think already did a lot of these things way back when. Going further back there's META II (https://en.wikipedia.org/wiki/META_II).
I think building self-specializing interpreters is the main trick. If that becomes easy then a whole bunch of other magic is also possible. But I'm just an amateur so all of this is still very impressive.