secs

Crates.iosecs
lib.rssecs
version0.0.1
sourcesrc
created_at2020-11-14 05:54:54.341843
updated_at2020-11-14 05:54:54.341843
descriptionA statically typed ECS (entity-component-system) with focus on ergonomics
homepagehttps://github.com/martin-t/rec-wars
repositoryhttps://github.com/martin-t/rec-wars
max_upload_size
id312265
size2,606
Martin Taibr (martin-t)

documentation

README

S. E. C. S.

Static Entity Component System

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.

Commit count: 1331

cargo fmt