3 ms·
Thanks for the thorough explanation. I am curious how hard / time consuming is to reimplement the existing languages in Truffle.
by holydude 9y ago
Thanks for the thorough explanation. I am curious how hard / time consuming is to reimplement the existing languages in Truffle.
- chrisseaton 9y ago> I am curious how hard / time consuming is to reimplement the existing languages in Truffle. 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.
- holydude 9y agoAt this stage how usable is all of this (graal/truffle etc) in real production ?
- chrisseaton 9y agoTwitter are using Graal in production right now and say it’s saving them real money. Truffle’s a bit earlier in development still.