dynec

An opinionated ECS framework.

CI codecov

Design goals (i.e. opinions)

Leverage type checker

The design goal of dynec is to leverage compile-time type checking to reveal as many bugs as possible without requiring tests. Therefore, compile-time-only type parameters are extensively used throughout the project.

Maximize cache locality

dynec attempts to maximize cache locality by providing the ability to permute the order of entities on demand, allowing the user to sort nearby entities together.

Features (or anti-features)

Explicit static archetypes.

Safe deletion

Isotope components

Entity rearrangement