~/talk

Deep dive into Go's build system

Talkat GopherCon UK 2022 · 2022-08-16..08-18· [go, developer-experience]
slides:none on file

Go builds the toolchain three times when bootstrapping and can compile the whole repo in ~53 seconds on a laptop; builds work by loading package patterns, fetching module zips from proxy.golang.org, unzipping into GOMODCACHE, and compiling packages into a content-addressed build cache keyed by hashes of Go version, build flags and source. Linking remains a single-step bottleneck, so compile is parallel but link is not. Reproducibility relies on embedding build ids and using flags like -trimpath and locking the Go version; tool-exec lets you intercept compiler/linker invocations.

AI-written summary · about

  1. 0:00Start
  2. 6:09package patterns
  3. 7:14loading packages
  4. 26:09parallelism
  5. 27:43reproducibility
  6. 31:14supply chain security
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.