GOGC, GOMEMLIMIT, and the Write Barrier: How the Go Garbage Collector Really Paces Itself
Ask most Go developers how the garbage collector works and you’ll get one of two answers: “it’s concurrent and low-pause”
Ask most Go developers how the garbage collector works and you’ll get one of two answers: “it’s concurrent and low-pause”
Some code teaches you an algorithm. Some code teaches you a way of thinking. The snippets below are in the
Continue readingFive Code Gems From Quake, Redis, Linux, Python, and SQLite — and What They Teach
Most developers treat the garbage collector as weather: it happens to them, and occasionally it ruins their day. But the
Autoregressive decoding is the reason large language models feel slow: every token is generated by a full forward pass, and
Every language you have ever used has a hash table hiding somewhere in it. Python calls it dict, Go calls
Continue readingHow Hash Tables Actually Work: Collisions, Load Factors, and the Resize Dance
Reinforcement Learning with Verifiable Rewards (RLVR) has become the engine behind modern reasoning models. The recipe is straightforward: let a
Most production performance problems in database-backed applications trace back to the same root cause: missing or misused indexes. Not slow
Continue readingPostgreSQL Indexing Strategies: Choosing the Right Index for Every Query
Every production service eventually faces the same question: how do you protect it from being overwhelmed? Whether it’s a sudden
Continue readingThe Art of Rate Limiting: 4 Algorithms Every Engineer Should Know