Explore the inner workings of the Go compiler in this 35-minute conference talk from GopherCon 2022. Dive deep into the compilation process, starting with a simple "Hello World" program and following its journey from source code to executable binary. Learn about key stages including scanning, parsing, abstract syntax trees, type checking, intermediate representation, and machine code generation. Gain insights into the Go runtime and discover how the compiler transforms human-readable code into a functional program. Perfect for Go developers seeking a deeper understanding of the language's compilation process and internals.
Overview
Syllabus
Introduction
Scanner
Lecture
Parser
ASD
Go Compiler
Type Checker
Intermediate Representation
Intermediate Representation Examples
Blocks
Scale Blocks
Machine Code Generation
Runtime
Binary
Cisco
Illustrations
Documentation
Taught by
Gopher Academy