~/talk

Go Protobuf

Talkat GopherCon Europe 2025 · 2025-06-16..06-19· [go, compilers-and-language-design]
links:none on file
slides:none on file

Release in December 2024 of the opaque API removes exported fields and replaces pointer-based presence with bit fields, cutting allocations and often halving allocation counts in benchmarks; lazy decoding defers work until access. Migration uses a multi-pass rewriter open2opaque built on go/ast, go/types, DST and go/packages. Migration required >100,000 monorepo edits at Google and saves hundreds of thousands of CPU cores; over 98% of Google production already runs it. Ideal for large Go codebases that heavily use Protobuf.

AI-written summary · about

  1. 0:00Go Protobuf intro
  2. 0:42Protobuf vs JSON
  3. 6:40Protobuf vs JSON
  4. 8:47Protobuf editions
  5. 10:10Opaque API
  6. 14:05Opaque API changes
  7. 18:39Rewriting Go to opaque API
  8. 26:06Opaque API production ready
~/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.