Skip to content

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

Topics Languages

C & C++

2026

Box2D

Box2D 3.2

Release 2 min +20 XP

Box2D 3.2 runs roughly three times faster than 3.1, with the speedup broken down by source: contact recycling (~40%), solver algorithm refinement (~20%), AVX2 runtime dispatch (~15%), solver optimization (~10%) and broad-phase optimization (~10%), which compound multiplicatively.

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.

Together AI

To Infinity and Beyond: ThunderKittens Now on NVIDIA Vera Rubin NVL72!

Deep dive 11 min +110 XP

ThunderKittens adds support for five Vera Rubin GEMM features: a doubled 64-byte K step in tcgen05.mma, 576-column exclusive tensor memory, 328 KiB oversized shared memory, a B-side collector buffer, and early A-operand release via tcgen05.commit.sync_restrict.

RocksDB Blog

Native Async/Coroutine Reads in RocksDB

Deep dive 10 min +100 XP

RocksDB 11.10.0 adds experimental native asynchronous Get/MultiGet APIs (callback-based GetAsync/MultiGetAsync and Folly-task-based CoroDB::CoGet/CoMultiGet) that suspend a read at the SST block-miss filesystem boundary and resume it on the same io_uring-backed EventBase thread, so a small read executor can sustain high storage queue depth without one parked thread per read.

OpenAI

Core dump epidemiology: fixing an 18-year-old bug

Case study 16 min +160 XP

Mysterious return-to-bogus-address crashes in Rockset's C++ execution layer turned out to be two unrelated bugs: silent register corruption on a single bad Azure host, and an 18-year-old race in GNU libunwind's _Ux86_64_setcontext, which read the synthesized ucontext_t after moving %rsp past it, letting a frequent SIGUSR2 CPU-time signal clobber it during exception unwinding.

ClickHouse

Announcing Silk: a silky smooth fiber runtime for ClickHouse

Announcement 11 min +110 XP

Silk is a C++ stackful-fiber runtime for ClickHouse. It pins one scheduler thread per CPU, uses io_uring as its I/O foundation, steals work in order of CPU topology cost (hyperthread sibling, then same socket, then cross-socket), and does zero heap allocation in the steady-state hot path through mmap'd stack pools, stack-resident futures and intrusive containers.

Docker

How to Automate Arm Migration with Docker MCP Toolkit, VS Code, and GitHub Copilot

How-to 15 min +150 XP

Docker MCP Toolkit connects the Arm MCP Server, GitHub MCP Server and Sequential Thinking server to GitHub Copilot in VS Code so Copilot can automate x86-to-Arm64 migration: checking base image architecture, scanning code with migrate-ease, looking up NEON equivalents for AVX2 intrinsics via a knowledge base, rewriting code and Dockerfiles, and opening a pull request.

2025

ClickHouse

chDB Kernel Upgrade Journey: Upgrading ClickHouse to v25.8.2.29

Case study 16 min +160 XP

Upgrading chDB's embedded ClickHouse kernel from v25.5 to v25.8.2.29 surfaced allocator conflicts rooted in chDB's dual-library design: a stable-ABI `_chdb.abi3.so` holding the ~120MB engine plus small per-Python-version pybind11 binding libraries.

Hugging Face

From Zero to GPU: A Guide to Building and Scaling Production-Ready CUDA Kernels

How-to 16 min +160 XP

Hugging Face's kernel-builder lets developers write a custom CUDA kernel, register it as a native PyTorch operator, build it reproducibly with Nix for every supported PyTorch/CUDA combination, and publish it to the Hub for loading via `get_kernel`.

2024

2023

2022

2021

2017

The quest for software engineering knowledge.

Look:
Layout: