Overview
Explore the intricacies of Julia's intermediate representations (IR) in this conference talk from JuliaCon 2024. Delve into the compilation process, focusing on typed-IR and its transformations. Learn how to implement and deploy custom passes for optimization, gaining control over code optimization and introducing new semantics beyond conventional metaprogramming. Discover the different stages of Julia's IR, including abstract syntax tree (AST), untyped IR, typed IR, and LLVM IR. Understand how passes transform code and how to extend them for your own purposes. While the specific methods presented may be subject to change due to Julia's evolving internals, the general approach and knowledge gained will remain valuable for Julia developers interested in advanced compiler techniques.
Syllabus
Adventures in Julia IR: Plundering Core.Compiler | Catherine White | JuliaCon 2024
Taught by
The Julia Programming Language