Implementation of a component-based entity system in modern C++
summary
Implements a small but complete entity component system in modern C++ using C++14, SFML for visuals and a GitHub repo with code; components are plain data, logic runs in implicit systems via compile-time bitset signatures and per-component vectors (one array per component). Builds a particle demo that reaches around 50k entities on a laptop, shows create/kill with a refresh reorder algorithm, and adds planned handles for stable references; code compiles and the demo runs at high frame rates.
AI-written summary · about
chapters (10)
- 0:00Introduction to entities
- 1:04OOP and composition
- 4:13Data-oriented design
- 7:07Implementation plan
- 11:26OOP code implementation
- 14:26Architecture design
- 16:56Settings and bit sets
- 30:17Manager and refresh logic
- 45:32Storage and systems
- 55:44Future work and Q&A
related talks
01h 21mData Oriented Design and Entity Component System Explained
01h 07mMore Speed & Simplicity: Practical Data-Oriented Design in C++
01h 08mImplementation of a multithreaded compile-time ECS in C++14
01h 05mData Storage in Entity Component Systems
01h 25mWriting games in very modern C++
01h 21mImproving Performance and Maintainability in Modern C++
01h 02mFunctional C++
57mComponent Driven Repo for a Component Driven World
