Go to content

Understanding the Go Compiler - Jesús Espino

The Go compiler is an excellent but complex tool. For most Go programmers, it’s just that - a tool. It doesn’t matter what happens between my "go build" and the execution of my binary because the go compiler works like a charm. But if you are a curious person that wants to know more about this process, this is probably your talk. I’ll go through the whole process of the compilation of one of the most straightforward go programs that you can write: a hello world. From that source file, with just plain text, into an optimized machine-specific binary code, passing through the transformations in between.

August 16, 2023