performance articles
May 29, 2026 performance C++ Branch prediction and dynamic dispatch
We examine how branch prediction can alleviate the cost of dynamic dispatch, and its limits
May 24, 2026 performance C++ Branch prediction: the sorted merge case
We showcase a “branchless” sorted merge algorithm (and its merge join variant), highlighting its benefits and its limits
May 14, 2026 performance Rust Data locality: sequential vs random access
We demonstrate the effects of data locality via a simple benchmark
May 8, 2026 performance C++ Data dependency: the scalar aggregation case
We showcase a concrete example of data dependency with a simple algorithm (a sum)
May 1, 2026 performance Modern CPUs: an introduction
The first article in a series about modern CPU architectures and their implications on how to write high-performance code