About
I'm Khalid H. Soliman. I write C++ professionally — CAD, 3D tooling and medical imaging — which mostly means watching algorithmic theory either save a project outright or turn out not to matter at all, and slowly getting better at telling those two cases apart in advance.
This series works through Robert Sedgewick'sAlgorithms, Part I in modern C++. The first post went up in 2020 and the second took six years, which is its own kind of lesson about shipping.
Every post follows the same rule: derive the cost on paper, then measure it, and publish both numbers. Order of growth tells you what is impossible; constants and cache behaviour tell you what to actually ship. A post that only did the math would be missing half the story.
The code for each post lives in theseries repo, in the same commit as the post itself, with a CMake file so you can clone it and reproduce the benchmarks. If your numbers disagree with mine, I'd genuinely like to hear about it.