Notes on systems, code, and tooling.
-
Hand-Writing an OpenRTB JSON Decoder in Go
Building a hand-written OpenRTB JSON decoder from scratch: zero-copy string scanning, arm64 NEON assembly to scan 16 bytes at a time, and arena allocation to beat goccy/go-json with far fewer heap objects.
-
Go JSON Performance in AdTech: Profiling OpenRTB Bid Request Parsing
Benchmarking three JSON parsing approaches for OpenRTB bid requests in Go, with pprof profiling to understand where stdlib spends its time — and why a 5× performance gap matters in adtech infrastructure.
-
Packaging the TWS C++ API as a CMake static library
How to extract the Interactive Brokers TWS C++ client, wrap it in a static CMake library for macOS, Linux, and Windows, and consume it cleanly in downstream projects.
-
Signed distance fields in C — the technique behind game HUDs, GPU shaders, and font rendering
Building a complete SDF rendering implementation in C: circles, boxes, boolean operations, smooth unions, and a metaball animation. No dependencies beyond the standard library.
-
Unicode Text Processing in C++ — Part 2: Grapheme Clusters and Performance
What a character actually is. How to iterate grapheme clusters with ICU. Benchmarks and where Unicode processing matters. Part 2 of 2.
-
Unicode Text Processing in C++ — Part 1: Normalization and Case-Folding
Why std::string fails at Unicode comparison. How normalization and case-folding fix it, and why the C++ standard can't ship Unicode. Part 1 of 2.
-
Packaging Intel’s libDFP as a CMake static library
A procedural guide: CMake-wrapping Intel’s libDFP for macOS, Linux, and Windows.