Re:Substrate VM – A framework that allows AOT compilation of...
by holydude on Thursday January 04, 2018 @05:46PM
(#16074832)
At this stage how usable is all of this (graal/truffle etc) in real production ?
Re:Substrate VM – A framework that allows AOT compilation of...
by chrisseaton on Thursday January 04, 2018 @05:54PM
(#16074888)
Twitter are using Graal in production right now and say it’s saving them real money. Truffle’s a bit earlier in development still.
We focus on getting really high performance from our Truffle languages, so we often forget to emphasise this point: Truffle is the easy way to create languages, as well as the high performance way. Truffle uses the AST pattern, which is how an undergraduate would implement an interpreter after one compilers course. And you can get 90% of the high performance from a simple interpreter, and then work on it a bit more to get the remaining 10% when you find you need it.