The Writing

Notes on building software.

Essays on architecture, AI systems, and the craft. Self-hosted, no tracking, no paywall.

Rust's Concurrency Rule Doesn't Relax — It Moves

Rust's rule against shared mutable state doesn't relax once you add threads. It just changes who enforces it — and gains a second rule deciding who's allowed to cross the thread boundary at all.

The Memory Wall

Why a GPU is architected nothing like a CPU, and the one ratio — arithmetic intensity — that tells you whether your code will ever be fast on either.

There's No Magic in Your Database

You type SELECT and rows come back. In between is a stack of twelve layers, each solving one very sensible problem. Here's the whole journey, following a single query from your terminal to the disk and back.

Why Your AI Features Feel Bolted On

Most AI integrations disappoint for the same reason, viewed three ways. Here are the three failure modes — and the one architectural idea that fixes all of them.