-
Systems research is the job
(Dec 2, 2026)
Systems research is starting to feel like the early days of tech again, when you had to build the thing to understand it, and building it was how you explored.
-
AX
(Dec 1, 2026)
AX is an open runtime for agents, from a single task to a large swarm. Users own the trade-offs, models own the shape of the swarm, and the runtime enforces the limits.
-
Intellectual click
(Nov 21, 2026)
The rare, instant connection with someone who thinks at your speed, how intoxicating it feels, and what it is like to lose it. I have felt it with only two people in my life.
-
Catchy 8-bit music
(Nov 21, 2026)
A look at how to synthesize classic 8-bit waveforms and percussion from scratch. Covers the motif, contour, cadence, and voice-leading rules that turn random notes into catchy melodies.
-
Sumerian math
(Aug 21, 2026)
How building a base-60 engine and clay-tablet simulator helped me understand Sumerian and Babylonian math. Covers sexagesimal place value, reciprocal tables, and why 60 beats 10 for everyday fractions.
-
Thoughts on coding agents
(Jul 3, 2026)
Coding agents collapse execution cost and act as an amplifier for people who already have a clear internal model of the outcome. Explores how that shifts organizational dynamics, removes permission bottlenecks, and raises new questions for mentoring newcomers.
-
Generics facilitators in Go
(Dec 20, 2021)
Go 1.18 generics deliberately omit parameterized methods, which complicates common database client APIs. Walks through the facilitator pattern as an idiomatic way to expose typed query helpers without them.
-
Spanner's SQL support
(Jul 22, 2020)
How Spanner evolved from an internal key-value store into a distributed relational database with full DDL and DML support. Covers F1, stale reads, auto-retried transactions, and the remaining SQL dialect gaps.
-
Notes on the Go generics proposal
(Jun 17, 2020)
Early notes walking through the Go generics design draft, type parameters, and constraints. Examines how the proposal fits into Go's existing type system and where its tradeoffs lie.
-
Spanner's high availability writes
(May 19, 2020)
Traditional primary-replica databases face painful tradeoffs between write availability, failover, and consistency. Explains how Spanner uses Paxos split leaders and Colossus replication to deliver high-availability writes.
-
Things I wished more developers knew about databases
(Apr 21, 2020)
Hard-won lessons on networks, clocks, ACID guarantees, isolation levels, and scaling tradeoffs in production databases. Written for application developers who want to understand what happens beneath their queries.
-
Go for Cloud
(Feb 6, 2020)
Practical strengths and production gotchas of running Go in cloud and serverless environments. Covers small static binaries, FaaS reuse, graceful shutdown, runtime metrics, continuous profiling, and core dumps.
-
Inlined defers in Go
(Jan 20, 2020)
Go's defer statement improves readability and cleanup safety, though historically it carried noticeable runtime overhead. Explains how open-coded, inlined defers make common deferred calls nearly free.
-
Want to debug latency?
(May 15, 2018)
A practical guide to navigating latency issues in distributed systems, from setting percentile-based SLOs to pinpointing root causes. Covers latency heat maps, trace exemplars, runtime tracers, and RPC-labeled profiling.
-
Continuous profiling of Go programs
(Apr 25, 2018)
Why always-on profiling in production pays off and how to enable it for Go services with a one-line agent. Covers overhead, supported profile types, and how to read and filter flame graphs.
-
The Go type system for newcomers
(Dec 27, 2017)
Go's structural type system feels unfamiliar if you are coming from classical class-based languages. Breaks down interfaces, embedding, and method sets in plain terms for newcomers.
-
pprof user interface
(Oct 10, 2017)
A quick tour of pprof's interactive web interface for exploring performance profiles in the browser. Covers graph views, flame graphs, top lists, and regex filtering from the -http UI.
-
The future of latency profiling in Go
(Jul 18, 2017)
CPU and memory profilers only tell part of the story when debugging slow microservices. Outlines early ideas for end-to-end latency profiling and better diagnostic visibility in Go.
-
Go's work-stealing scheduler
(Jul 16, 2017)
An inside look at how Go's runtime scheduler distributes goroutines across OS threads and logical processors. Explains local and global run queues and how work stealing keeps cores busy.
-
Profiler labels in Go
(Jul 3, 2017)
Go 1.9 adds profiler labels so you can attach arbitrary key-value tags to CPU profile samples. Shows how labeling work by request or task makes hot spots far easier to attribute in pprof.
-
Custom pprof profiles
(Jun 30, 2017)
Go ships with built-in pprof profiles for CPU, memory, and blocking, but you can also define your own. Shows how to register and collect custom pprof profiles to track application-specific resources.
-
Debugging Go core dumps
(May 22, 2017)
Core dumps capture a running process's memory and state for post-mortem debugging when live inspection is not possible. Walks through enabling core dumps for Go programs and inspecting them with Delve.
-
Automatic tracing for gRPC
(Mar 22, 2017)
Following a request across microservices requires propagating trace context across every RPC hop. Shows how to wire up automatic distributed tracing for gRPC clients and servers in Go using interceptors.
-
Naming tests to self-document
(Feb 3, 2017)
Clear test names make a test suite easier to maintain and double as readable documentation for your package. Shares practical naming conventions for unit tests, subtests, and failure output in Go.
-
Style guideline for Go packages
(Jan 14, 2017)
A practical style guide for naming, organizing, and documenting Go packages. Covers file layout, avoiding generic package names, clean import paths, and optimizing for godoc.
-
Mutex profile
(Dec 19, 2016)
Go 1.8 adds a contended mutex profile to help pinpoint lock bottlenecks in concurrent programs. Shows how to enable sampling with runtime.SetMutexProfileFraction and inspect contention stacks in pprof.
-
The default GOPATH
(Dec 14, 2016)
Go 1.8 removes a long-standing onboarding friction by falling back to a default GOPATH when the environment variable is unset. Explains how the default path works across platforms and when you still need to configure it.
-
HTTP/2 Server Push
(Dec 10, 2016)
HTTP/2 Server Push lets a server send dependent assets to a client before the browser even requests them. Demonstrates how to use net/http's Pusher interface introduced in Go 1.8.
-
Deprecation notices in Go
(Dec 8, 2016)
A look at the standard doc comment convention Go uses to mark deprecated APIs. Shows how godoc and linters surface deprecation notices so callers know what to migrate to.
-
Using contexts to avoid leaking goroutines
(Oct 25, 2016)
Background goroutines that never receive a cancellation signal can quietly leak memory and CPU in long-running servers. Demonstrates how to propagate context.Context so goroutines exit cleanly when callers are done.
-
Debugging code generation in Go
(Oct 15, 2016)
An overview of the built-in Go toolchain flags for inspecting assembly and SSA code generation. Based on a dotGo lightning talk showing how to see what the compiler actually produces.
-
Keeping Go a human-first language
(Oct 11, 2016)
An argument for keeping language and runtime internals out of everyday Go code, especially for newcomers. Explains why Go's value as a high-level language depends on shielding users from unnecessary low-level complexity.
-
Go tooling essentials
(Sep 25, 2016)
A curated tour of practical flags for go build, go test, and other core Go toolchain commands. Covers everyday options for debugging, race detection, coverage, and inspecting dependencies.
-
Examples coverage
(Sep 8, 2016)
Testable examples in Go serve as both runnable documentation and verification for package APIs. Shows how go test can measure and report coverage specifically from your package examples.
-
Parallelize your table-driven tests
(Sep 6, 2016)
Go 1.7 introduced subtests, making it straightforward to run table-driven test cases concurrently. Shows how to combine t.Run and t.Parallel safely while avoiding common loop-variable pitfalls.
-
Using Instruments to profile Go programs
(Sep 2, 2016)
Apple's Instruments suite can profile native binaries on macOS, including compiled Go programs. Walks through recording and analyzing a Go CPU profile inside Instruments.
-
Bidirectional gRPC streaming for Go
(Aug 30, 2016)
Bidirectional streaming lets a gRPC client and server exchange messages independently over a single connection. Walks through implementing and wiring up a bidirectional streaming endpoint and client in Go.
-
Apply transformations to Go code with eg
(Aug 27, 2016)
Large-scale refactoring in Go is tedious and error-prone to do by hand. Introduces eg, a template-based tool for applying safe, type-aware code transformations across a codebase.
-
Calling Go from Swift
(Oct 3, 2015)
An early look at calling Go packages from Swift using Go Mobile bindings. Walks through generating a framework and integrating Go code into an Xcode project.
-
Go cross compilation
(Sep 8, 2015)
A practical guide to cross-compiling Go binaries across operating systems and architectures since Go 1.5. Covers pure Go builds with GOOS and GOARCH as well as what changes when cgo is involved.
-
Concrete first, abstract later
(Oct 18, 2014)
A survey of open source Go codebases showing how premature interfaces lead to unnecessary indirection. Explains why starting with concrete types and letting consumers define small interfaces keeps Go code simpler.