Monthly Archives: November 2017

MoarVM Specializer Improvements Part 4: Argument Guards

So far in this series, I have discussed how the MoarVM dynamic optimizer gathers statistics, uses them to plan what to optimize, and then produces specialized versions of hot parts of a program to speed up execution. In this final part, I’ll look at … Continue reading

Posted in Uncategorized | Leave a comment

MoarVM Specializer Improvements Part 3: Optimizing Code

Finally, after considering gathering data and planning what to optimize, it’s time to look at how MoarVM’s dynamic optimizer, “spesh”, transforms code into something that should run faster. Specialization The name “spesh” is short for “specializer”, and this nicely captures the overall approach … Continue reading

Posted in Uncategorized | 1 Comment