Software Engineering Series

Here we talk about programming in general, without focusing on a specific language. Posts will vary from intermediate to expert level depending mostly on what interesting questions people ask me that I decide to write about.

Zero-cost unique_ptr deleters

A C++ smart unique_ptr uses exactly the same amount of memory as a regular pointer, and has zero runtime cost. That is what we love about C++. But what if I need a custom deleter for my pointer? Can I get it at zero cost too?▸ read more

Error Handling part 2: Abstractions

We cover the basics of correct error handling, so it is no longer an afterthought. In previous post, we left some crucial questions unanswered, such as “What exactly makes an error recoverable?”. In this post, we dive into levels of abstraction and what they mean for error handling.▸ read more
back to top