Crates.io | secs |
lib.rs | secs |
version | 0.0.1 |
source | src |
created_at | 2020-11-14 05:54:54.341843 |
updated_at | 2020-11-14 05:54:54.341843 |
description | A statically typed ECS (entity-component-system) with focus on ergonomics |
homepage | https://github.com/martin-t/rec-wars |
repository | https://github.com/martin-t/rec-wars |
max_upload_size | |
id | 312265 |
size | 2,606 |
Secs is a proof-of-concept for a statically typed ECS. Entities are defined as normal structs. Components don't have to be newtypes, they're just fields. Each entity's fields are known at comile time, that means you get static type checking like in non-ECS code and there's less boilerplace like unwraps
and fewer bugs.
Secs aims to combine the best of generational arenas (or similar allocators) and traditional ECS.
This package is a placeholder for the ECS I am writing as part as making a game. If you have questions, you can reach me on discord. If you think you wrote an ECS that's more ergonomic than mine and have a better use for the name, let me know.