Welcome

Hi! This is my personal site, where I share notes on software and self-hosting. You’ll learn how things work behind the scenes, and how to make them run fast, very fast.

I’m a mathematician and engineer, a strong advocate of free1 1 As in freedomsoftware, and a devoted Emacs user. I live in sunny Dublin.

Recent Entries §

Deriving Type Erasure
Ever looked at std::any and wondered what’s actually going on behind the scenes? Beneath the intimidating interface is a clean case of type …

Optimizing a Lock-Free Ring Buffer
A single-producer single-consumer (SPSC) queue is a great example of how far constraints can take a design. One writer, one reader, fixed …

Devirtualization and Static Polymorphism
Virtual dispatch is the basis of runtime polymorphism, but it comes with a hidden overhead: pointer indirection, larger object layouts, and …

Subscribe§

My mailing list is free and occasional. I will never sell or share your email address.