February 13, 2026
A guided tour through my open-source ecosystem—from encrypted search theory and statistical reliability to Unix-philosophy CLI tools, AI research, and speculative fiction. How 120+ projects connect, where the gaps are, and where to start.
January 19, 2026
Many structures come in pairs: forward/reverse AD, push/pull iteration, encode/decode. Recognizing duality lets you transfer theorems and insights between domains.
January 18, 2026
A reflection on eleven explorations in generic programming—how algorithms arise from algebraic structure.
December 17, 2025
Notes
18-part lecture series on efficient programming. Covers the intellectual foundations behind STL.
December 17, 2025
Notes
Rigorous foundations of generic programming. Connects algebra and algorithms. Stepanov’s magnum opus.
December 17, 2025
Notes
Classic talk on recognizing algorithmic patterns. ‘No raw loops’ - shows how rotate solves many problems elegantly.
November 30, 2025
A mathematically elegant C++20 library for algebraic text processing and compositional parsing with fuzzy matching capabilities.
November 30, 2025
A C++17 header-only library implementing Computational Basis Transforms - a unified framework for understanding how FFT, logarithmic arithmetic, and Bayesian inference are all instances of the same pattern.
November 30, 2025
A modern C++ header-only library implementing disjoint interval sets as first-class mathematical objects with rigorous Boolean algebra operations.
October 7, 2025
October 7, 2025
October 6, 2025
ZeroIPC transforms shared memory from passive storage into an active computational substrate, enabling functional and reactive programming paradigms across process boundaries with zero-copy performance.
October 1, 2025
October 1, 2025
October 1, 2025
October 1, 2025
October 1, 2025
January 15, 2025
Three approaches to computing derivatives—forward-mode AD, reverse-mode AD, and finite differences—each with different trade-offs. Understanding when to use each is essential for numerical computing and machine learning.
June 10, 2024
A high-performance key-value storage system achieving sub-microsecond latency through memory-mapped I/O, approximate perfect hashing, and lock-free atomic operations. 10M ops/sec single-threaded, 98M ops/sec with 16 threads—12× faster than Redis, 87× …
June 10, 2024
A header-only C++20 library that achieves 3-10× compression with zero marshaling overhead. PFC makes compression an intrinsic type property through prefix-free codes (Elias Gamma/Delta, Fibonacci, Rice), algebraic types, and Stepanov's generic …
March 1, 2024
A modern C++20 library for compositional online data reductions with numerically stable algorithms and algebraic composition.
February 5, 2024
Sean Parent's type erasure technique provides value-semantic polymorphism without inheritance. Combined with Stepanov's algebraic thinking, we can type-erase entire algebraic structures.
August 28, 2023
Numerical integration demonstrates both classical numerical analysis and Stepanov's philosophy: by identifying the minimal algebraic requirements, our quadrature routines work with dual numbers for automatic differentiation under the integral.
January 17, 2023
Reverse-mode automatic differentiation powers modern machine learning. Understanding how it works demystifies PyTorch, JAX, and TensorFlow—it's just the chain rule applied systematically.
November 1, 2022
A C++ library for composable hash functions using algebraic structure over XOR, with template metaprogramming.
April 12, 2022
The art of numerical differentiation lies in choosing step size h wisely—small enough that the approximation is good, but not so small that floating-point errors dominate.
September 20, 2021
Dual numbers extend our number system with an infinitesimal epsilon where epsilon^2 = 0. Evaluating f(x + epsilon) yields f(x) + epsilon * f'(x)—the derivative emerges automatically from the algebra.
March 8, 2021
elementa is a pedagogical linear algebra library where every design decision prioritizes clarity over cleverness—code that reads like a textbook that happens to compile.
July 14, 2020
The same GCD algorithm works for integers and polynomials because both are Euclidean domains. This profound insight shows how algebraic structure determines algorithmic applicability.
February 18, 2020
Rational numbers give us exact arithmetic where floating-point fails. The implementation reveals deep connections to GCD, the Stern-Brocot tree, and the algebraic structure of fields.
November 15, 2019
How iterators reduce the N×M algorithm-container problem to N+M by interposing an abstraction layer, following Stepanov's generic programming approach.
September 10, 2019
The Miller-Rabin primality test demonstrates how probabilistic algorithms can achieve arbitrary certainty, trading absolute truth for practical efficiency.
June 22, 2019
Integers modulo N form a ring—an algebraic structure that determines which algorithms apply. Understanding this structure unlocks algorithms from cryptography to competitive programming.
March 15, 2019
The Russian peasant algorithm teaches us that one algorithm can compute products, powers, Fibonacci numbers, and more—once we see the underlying algebraic structure.
October 15, 2018
What if containers wasted zero bits? A C++ library for packing arbitrary value types at the bit level using pluggable codecs.