Alex Constantin-Gomez

Performance-oriented C++ attributes

A short reference post with some interesting and useful attributes for performance optimisation available in modern C++.

Read Post

Implementing pattern matching in C++17

A short post on how to implement type-based pattern matching using C++17 features.

Read Post

Performance comparison between virtual calls and static dispatch

A brief summary of static dispatch in C++ and how it compares with virtual functions.

Read Post

Introduction to lock-free programming

An attempt to explain the fundamental concepts required to write lock-free programs.

Read Post

Writing custom memory allocators in C++

Examples of custom memory allocators are implemented in C++ and their benefits.

Read Post

A cache-friendly SPSC queue for low-latency message passing

An implementation of a cache-optimised SPSC queue, for high-throughput message passing.

Read Post