Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

Memory management Remove topic Memory management 101 posts RSS

November 2026

claude.dev

Using a "chaos loop" to harden the Claude Docs launch: 60 server errors across billions of requests

Case study 11 min +110 XP

Before launching Claude Docs, a two-week "chaos loop" had Claude Code drive a production-mirroring staging cluster at over a million synthetic docs a day, inject failures (mass reconnects, killed servers, stalled databases, hot docs), read Datadog telemetry, and ship fixes, with a human approving only hard-to-undo changes like schema or storage layout.

Asahi Linux

Progress Report: Linux 7.3

Release 14 min +140 XP

Asahi Linux's 7.3-cycle report covers upstream submission of the macaudio and AVD (~13,000 lines) drivers, initial M4 Pro/Max and M5 Devicetrees, and M3 support going generally available with DCP enabling sleep and the notch area. m1n1 now runs three EL1 VMs (macOS, SPTM, and the Secure Kernel with Exclaves) to reverse engineer M5 macOS.

October 2026

Kubernetes Blog

The Shift to cgroup v2 in Kubernetes: What You Need to Know

Deep dive 11 min +110 XP

Kubernetes has deprecated cgroup v1: from v1.35 the kubelet refuses to start on cgroup v1 nodes by default (`failCgroupV1: true`), kubeadm preflight errors on it, and the fallback is slated for removal in v1.38. cgroup v2 enables Memory QoS with `memory.high` throttling and tiered `memory.min`/`memory.low` reservations, container-wide OOM kills via `memory.oom.group`, safe rootless delegation, eBPF-based device control, PSI metrics, and accurate Pod-level in-place resizing.

September 2026

ClickHouse

Memory safety for Postgres extensions in C/C++

Case study 4 min +40 XP

Postgres's palloc/MemoryContext allocation and setjmp/longjmp-based error handling clash with C++ new/delete, destructors and exceptions: longjmp skips destructors (undefined behavior), exceptions bypass PG_CATCH, and an uncaught exception aborts the process and forces cluster-wide crash recovery.

August 2026

Hugging Face

Making Knowledge Distillation Cheap Enough to Run at Scale

Research 8 min +80 XP

Two systems changes make LLM knowledge distillation far cheaper: caching the teacher's top-100 logits offline so the teacher never shares memory with the student, and a fused chunked KL loss that folds the output projection into the loss and recomputes chunks in the backward pass, so the full vocabulary × sequence logits grid is never materialized.

July 2026

Servo

June in Servo: real world compat, media queries, SharedWorker, and more!

Release 11 min +110 XP

Servo 0.4.0 bundles a record 558 June commits, adding CSS features like experimental attr(), deferred calc() resolution and many media queries (device-width, aspect-ratio, pointer, hover), plus DOM APIs including SharedWorker, CustomElementRegistry constructors and new SubtleCrypto algorithms.

June 2026

May 2026

April 2026

Bun

Bun v1.3.13

Release 17 min +170 XP

Bun v1.3.13 adds per-file test isolation (--isolate), parallel test workers with work stealing (--parallel), CI sharding (--shard=M/N), and git-aware test selection (--changed) built on the import graph. bun install now streams tarballs to disk while downloading, cutting memory 17x in a large repo, and the isolated linker drops a peer-heavy monorepo install from 20.5s to 2.4s.

March 2026

December 2025

November 2025

September 2025

August 2025

What the interns have wrought, 2025 edition

Case study 12 min +120 XP

Jane Street's 2025 intern projects include an index-aware evaluator for JSQL, the company's internal SQL dialect, which over-approximates key ranges from WHERE clauses and specializes execution to Map, Hashtbl or multi-index containers, giving ~700x and ~30x speedups on 3.8M-row benchmarks.

July 2025

How Go 1.24’s Swiss Tables saved us hundreds of gigabytes

Deep dive 17 min +170 XP

Go 1.24's new map implementation, based on Swiss Tables and extendible hashing, cut roughly 500 MiB of live heap (about 1 GiB of RSS with GOGC=100) from a 3.5-million-entry routing cache map, enough to more than offset a separate Go 1.24 mallocgc memory regression.

June 2025

May 2025

April 2025

The quest for software engineering knowledge.

Look:
Layout: