As a game developer we might need an Entity Component System framework for nice game architecture. But it need to be CPU cache friendly too. This is highly important.
If you don’t know what is cache friendly then please take a look here:
- http://gameprogrammingpatterns.com/data-locality.html
- watch this video of Herb Sutter from about 23 minutes: http://channel9.msdn.com/Events/Build/2014/2-661
- Or this video: https://www.youtube.com/watch?v=16ZF9XqkfRY
If you know then please help me to find or even write an ECS framework. The problem is whatever I have found is not cache friendly:
- Artemis cpp: https://github.com/vinova/Artemis-Cpp
- https://github.com/ElvisQin/EntitySystem
- https://github.com/Beernutts/Escape-System
These frameworks do not deal with a contiguous memory during game loop updating phase. And for sure, there will be high rate of cache misses. That’s why I can not find an appropriate ECS framework.
Please help me on this.