This blog is about Entity Component Systems. If you’d like to learn more about ECS, see this FAQ: https://github.com/SanderMertens/ecs-faq

I usually shy away from the “P word” in conversations about ECS. Whenever it is uttered all it seems to do is divide people into two camps, which is rarely a…


v2.3 puts hierarchies on steroids!

I blog-skipped v2.2, so there’s a lot to catch up on :-)

First of all, Flecs is an Entity Component System (ECS). If you don’t know what an ECS is, check out the FAQ.

Much has happened since the last update, and not all of it in code! The Flecs…


One of the key design goals of Flecs is to enable reusability. When we talk about reusability, it is often the reusability of code. While that is a big part of it, reusability of data is just as important, especially in games. …


It has only been one month since version 2.0 came out, and yet Flecs 2.1 has lots of improvements that makes building games with C and C++ easier than ever! Let’s go over some of the new developments, starting with:

Flecs Hub

This is not strictly part of the Flecs core, but…


Disclaimer: I am the author of Flecs, a C/C++ Entity Component System. If you’d like to know more about ECS, see this FAQ.

If you are using an ECS (Entity Component System) for the development of a game, chances are that at some point you had to ask yourself whether…


Link to the Flecs Discord. Link to the repository.

After having been in development for almost a year, Flecs 2.0, an Entity Component System for C and C++ is finally out! …


Disclaimer: I am the author of Flecs, an Entity Component System for C99. Discord: https://discord.gg/ZSSyqty

If you are writing your own ECS framework (or are about to), there is a good chance you are designing your entities as unique integer values. One of the simplest ways of implementing an ECS…


Disclaimer: I am the author of Flecs, an Entity Component System for C99. Discord: https://discord.gg/ZSSyqty

When I started writing my first ECS a year ago, I was excited. It seemed to do something unique by offering more flexibility and performance to a developer at the same time. …


Flecs Discord: https://discord.gg/MRSAZqb

This is the second in a series of posts about the guts of Flecs, an Entity Component System for C and C++. …


Flecs Discord: https://discord.gg/MRSAZqb

This is the first in a series of posts about the guts of Flecs, an Entity Component System for C and C++. …

Sander Mertens

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store