An exposition of the JIT

50 minutes



For two years in a row I've been working on the MoarVM JIT compiler. When I started the whole concept was mysterious to me. But JIT compilation is a rich an interesting topic at the intersection of two very different approaches to computation. In this talk, I will discuss how these approaches interact, when and how they conflict, what it takes for a compiler to produce good (fast and small) code and how to optimize this code. Finally, I will try to answer the question - will perl 6 ever be fast?