Foundation

Overview

Display of header-only include file

Project Type

Year

Project Duration

Context

Tools

Notable Features

Code

Solo Project

2022

Ongoing

A deep-dive and continuation of the ECS project first started during Rogue Robots development and now integrated in Relentless

dense_hash_map by Jiwan @Github, StaticTypeInfo by TheLartians @Github

Sparse Set Data Structure, O(1) Look-up/Destroy Operations, O(n) Iteration Operations, Plug & Play Header-only, No Pre Component-registrations Necessary, Light-weight, Modern C++ 20 Templated Back-end, User Friendly Front-end

TL;DR

Foundation is a continuation of the ground work established during the development of Rogue Robots. Data-oriented design and architecture can shine in game development when done right, both from a performance and code separation stand point. As such it naturally drew me in and I have been intrigued ever since.
It was born from and inspired by Michele Caini's excellent work on entt and accompanying article series "ECS back and forth", and as such it shares many of entt's features. These include the sparse set data structure as core for storing components and associated entities, the entity handle as both identifier and versioning to avoid storage of deleted entities, an optimized solution for multi-component iterations, a pre-registration-free solution for data components and plenty more.

As this project is ongoing this page is subject to change as the project does.