Explore the inner workings of the Go compiler in this 33-minute conference talk from GoLab. Dive into the compilation process, examining both the front-end (Parsing, Tokenizing, AST Generation) and back-end (AST to SSA conversion, Optimizations, Assembly) stages. Gain insights into how Go's simplicity and speed are achieved through the compiler's heavy-lifting, transforming human-readable code into highly-optimized machine code. Develop a general understanding of the official Go compiler implementation (gc), focusing on its role in performance, portability, and code readability. Learn how the compiler's front-end prepares code into an Abstract Syntax Tree (AST) and how the back-end transforms this AST into machine code, providing a foundation for further exploration of Go compiler documentation and potential contributions to the Go project.
Overview
Syllabus
Going down the compilation rabbit hole - Richard Rowland
Taught by
GoLab conference