[ANN] Ark.jl: archetype-based entity component system (ECS) for games and simulations

you can use a custom storage type which has this property if you need to

Are you sure this is possible? Indices for different components in an archetype must be consistent, and must also be consistent with entity indices in this archetype.

no, this is not possible at the moment I think since removal uses the swap trick which doesn’t preserve order “by design”, I think that it would be possible to have a different removal policy, but since you need consistent behaviour between components as I know realize thanks to your comment, one would need to specify it at world creation and use for all components Union{Nothing, T}…Not sure if such a change is justified though