Home / Forums / Entity Component System (ECS) Architecture: Flecs and EnTT in Modern Game Development

UnreliableCode Community

Developer Research, Reverse Engineering & Coding Community

Discussion

Entity Component System (ECS) Architecture: Flecs and EnTT in Modern Game Development

DarkLogic
Game Logic & SDK Developer
MEMBER
Rep: 180
Join Date: Jun 2024
Posts: 28
Thanks: 41
3y ago · Mar 18, 2023 11:55 AM
#1
ECS separates data (Components) from logic (Systems). Storing components contiguously in archetype tables maximizes CPU cache locality.
DarkLogic | Virtual method tables & SDKs
The following users thanked DarkLogic for this post:
RustMechanic
Unity & IL2CPP Reverser
VIP
Rep: 295
Join Date: Nov 2022
Posts: 32
Thanks: 74
3y ago · Mar 18, 2023 4:37 PM
#2
EnTT uses sparse sets for ultra fast iteration and component lookups in C++.
RustMechanic | IL2CPP & Unity Engine Analysis
KronoDev
C++ / Game Modder
MEMBER
Rep: 195
Join Date: Jan 2023
Posts: 32
Thanks: 48
3y ago · Mar 20, 2023 11:37 PM
#3
Flecs provides built-in entity relationships, hierarchy trees, and networked replication out of the box.
KronoDev - Keep coding, keep learning