2024-11-23 03:42:54 +00:00
Just a stupidly fast Entity Component System
- [Entity Relationships ](https://ajmmertens.medium.com/building-games-in-ecs-with-entity-relationships-657275ba2c6c ) as first class citizens
- Iterate 800,000 entities at 60 frames per second
- Type-safe [Luau ](https://luau-lang.org/ ) API
- Zero-dependency package
- Optimized for column-major operations
- Cache friendly [archetype/SoA ](https://ajmmertens.medium.com/building-an-ecs-2-archetypes-and-vectorization-fe21690805f9 ) storage
2025-05-27 18:39:48 +00:00
- Rigorously [unit tested ](https://github.com/Ukendio/jecs/actions/workflows/unit-testing.yaml ) for stability
2024-11-23 03:42:54 +00:00
2025-11-30 02:47:51 +00:00
### Get Started
2025-11-30 02:47:51 +00:00
This repository includes a few subfolders that can help you get started with jecs:
2024-11-23 03:42:54 +00:00
2025-11-30 02:47:51 +00:00
- how_to:
2025-11-30 02:47:51 +00:00
This is a step-by-step introduction to how this ECS works and the reasoning behind its design.
2024-11-23 03:42:54 +00:00
2025-11-30 02:47:51 +00:00
- modules:
2025-11-30 02:47:51 +00:00
These are regularly used modules and should be mostly working, but some might not be. You can look in this folder to see some code that you might use to help you hit the ground running quickly.
2024-11-23 03:42:54 +00:00
2025-11-30 02:47:51 +00:00
- examples:
2025-11-30 02:47:51 +00:00
These are larger programs that showcase real use cases and can help you understand how everything fits together.
2024-11-23 03:42:54 +00:00
2025-05-27 18:39:48 +00:00
### Benchmarks
2024-11-23 03:42:54 +00:00
21,000 entities 125 archetypes 4 random components queried.

Can be found under /benches/visual/query.luau
Inserting 8 components to an entity and updating them over 50 times.

Can be found under /benches/visual/insertions.luau