Entity-Component-System
Implement the high-performance Entity-Component-System (ECS) design pattern, alongside an API that makes the architecture easy to use.
Updated
1
Entity-Component-System (ECS)
Transitioning from monolithic data structures to the ECS architecture, splitting our data into dedicated component pools.
2
Relational Data and Sparse Sets
Connecting components to their entities using the sparse set pattern, achieving fast lookups while maintaining cache-friendly contiguous data.
3
The Join Algorithm
Efficiently pulling data from multiple component pools simultaneously using the smallest set driver pattern, and optimizing it using bitmasks to minimize cache misses.
4
Templatizing Components
Improving our API using templates and a centralized registry using
std::tuple.5
Creating Views
Updating our ECS to support composable, range-based views that handle the smallest-set algorithm automatically using C++20 ranges.