Hannupekka Sormunen

writes about software development, tooling and experiments.

Canonical Project Structure

If you’re starting a new C or C++ project, be it a library or software package, Canonical Project Structure (P1204R0) is an excellent choice for modern workflows in my opinion. Its aim is to provide a …source code layout and content guidelines for new C++ projects that would facilitate their packaging. ...

September 21, 2025 · 5 min · Hannupekka Sormunen

C++: RAII and smart pointers

A primer on RAII, unique_ptr, shared_ptr, and when to use which…

September 8, 2025 · 1 min · Hannupekka Sormunen

Pointers & Arrays: a quick C refresher

A short note on pointer arithmetic and array decay in C…

September 8, 2025 · 1 min · Hannupekka Sormunen