Articles
-
Math errors - o3 to the rescue
May 31, 2025
How o3 saved me hours of debugging with a math problem
-
Monadic error handling in C++ and the ? operator
May 30, 2025
Errors as values are common in C and a great alternative to exceptions in C++. In C++23,
std::expected
is going to provide a monadic interface for errors as values. Now if only we had Rust’s?
operator or Haskell’sdo
notation… -
Efficient logging using compile-time strings
April 29, 2025
Let’s explore compile-time string processing to mimic some of the functionality of the
defmt
crate, but using C++. -
Compile time huffman trees in C++20
December 15, 2024
On how to build huffman trees from huffman tables at compile-time.
-
A time-based intuition of the discrete Fourier transform
December 14, 2024
Or: Why does multiplying some signal with some sines produce a frequency spectrum?
-
Message dispatching with C++
December 10, 2024
Taking C++ to the skatepark
-
A C-style approach to Visual Basic 6
December 1, 2024
An homage to a programming language which’s grammar and ideas don’t get much acclaim nowadays.