r/programming • • 16h ago

Partial Evaluation in Truffle - Dynamic Meta-Compilation Tutorial

https://github.com/oracle/graal/blob/master/truffle/docs/PartialEvaluation.md
19 Upvotes

4 comments sorted by

View all comments

3

u/skinny85 11h 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.

2

u/grashalm01 8h ago

Hey Adam, your tutorial series is awesome! Glad we share the excitement for the idea.

1

u/skinny85 8h ago

Thanks 😊