ECS back and forth

Part 2 - Where are my entities?

Second part of the ECS back and forth series. After a half-way solution between OOP and component-based models and an approach where entities were also indexes, I want to introduce another couple of techniques that try to get rid of some common problems seen so far. In particular, we have... [Read More]
Tags: ecs entt

EnTT and double buffering

More than once I’ve been asked to put built-in support for double buffering or N-buffering in general within EnTT. A patch has also been submitted but it had some inherent problems and could not be merged. Fortunately double buffering can also be easily implemented on top of a registry and... [Read More]
Tags: entt

ECS back and forth

Part 1 - Introduction

The first time I heard of the entity component system architectural pattern, I searched on the web for more information. Sadly, I didn’t find many details on the topic nor a single source where the different approaches were described along with their pros and cons. Almost every article, every post,... [Read More]
Tags: ecs

Generic, type-safe delegates in C++ (revised)

Back in 2011, an interesting post about generic, type-safe delegates and events in C++ appeared on the web. Most of the implementations of a delegate class you can find around on GitHub are largely inspired by this article, sometimes with a few changes. Sadly, most of these implementations also stick... [Read More]
Tags: entt cpp signal