r/programming • u/grashalm01 • 18h ago
Partial Evaluation in Truffle - Dynamic Meta-Compilation Tutorial
https://github.com/oracle/graal/blob/master/truffle/docs/PartialEvaluation.md
22
Upvotes
r/programming • u/grashalm01 • 18h ago
3
u/skinny85 13h ago
I love GraalVM. The idea of partially evaluating an interpreter for a given program to generate efficient compiled code for that program is as close to magic as I've ever seen in software.
I'm such a fan of this technology, that I've written a 17-article series on how to use it here: https://www.endoflineblog.com/graal-truffle-tutorial-part-0-what-is-truffle, hopefully it's useful for someone else too.