~/talk

Compile Time Code Weaving in Go, Large Systems Debugging/Profiling

Talkat HighLoad++ 2015 · 2015-11-02..11-03· [go, observability]
linkedin:ianeyberg
slides:none on file

Describes a compile-time AST rewriter called go-weave plus an examples repo (loom) that injects code into binaries rather than at runtime, using generated temp files and go/ast. Demonstrated usages: compile-time code weaving to time every QueryRow across a codebase, log panics from every goroutine, add validations or auth checks, and wrap calls before/after execution; it preserves aspect order, can operate recursively from a root directory, and warns about variable shadowing while offering reference tracking to avoid collisions.

AI-written summary · about

  1. 0:00Introduction to talk
  2. 1:52Why Go needs code weaving
  3. 4:45Aspect-oriented programming basics
  4. 9:26Use cases for aspect weaving
  5. 11:15Practical examples of aspects
  6. 14:48GoWeave and Loom repositories
  7. 15:57Q&A session
~/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.