Skip to content

Blogs

Modelling Ownership in C++ (Part 1)

Motivation Who doesn’t love pointers? Maybe students learning about them for the first time have some reservations, but on balance, I’d say that they’re fairly popular. The humble asterisk (or ^, or 'Access) gives us near-unrestricted access to a system’s memory and opens access to new classes of programming paradigms. The concept of uniquely identifying a chunk of information using only a lightweight 32-, 48-, or 64-bit number is severely underrated, and one of my major gripes with some higher-level languages is that they attempt to hide this glorious abstraction because somebody else has decided that you cannot be trusted to wield their power responsibly. But, with enough syntax, most languages still do support pointers as a fundamental mechanism to programming computers:

Read more →

4 August 2026