
[](LICENSE) [](https://wally.run/package/ukendio/jecs)
# Jecs
### Just a Stupidly Fast ECS for Roblox
[](LICENSE)
[](https://wally.run/package/ukendio/jecs)
# Jecs - Just a Stupidly Fast ECS
A high-performance Entity Component System (ECS) for Roblox games, with first-class support for both Luau and TypeScript.
A high-performance Entity Component System (ECS) for Roblox games, supporting both Luau and TypeScript.
## ✨ Features
## Features
- 🚀 **Blazing Fast:** Iterate over hundreds of thousands of entities at 60 FPS
- 🔗 **Entity Relationships:** First-class support for entity relationships
- 🏷️ **Component Traits:** Add metadata and behavior to components
- 📝 **Type Safety:** Fully typed API for both Luau and TypeScript
- 🎯 **Zero Dependencies:** Simple integration with no external dependencies
- ⚡ **Optimized Storage:** Cache-friendly archetype/SoA storage
- ✅ **Battle-tested:** Comprehensive test coverage
- 📚 **Well Documented:** Clear, thorough documentation and examples
* **Blazing Fast:** Iterate over hundreds of thousands of entities at 60 frames per second. Benchmark results are available in the documentation.
* **Entity Relationships:** First-class support for defining and querying relationships between entities.
* **Type Safety:** Fully typed API for both Luau and TypeScript, enhancing code maintainability and reducing errors.
* **Zero Dependencies:** No external dependencies required, simplifying integration into your project.
* **Optimized Storage:** Cache-friendly archetype/SoA (Structure of Arrays) storage for optimal performance.
* **Battle-tested:** Rigorously unit tested for stability and reliability.
* **Comprehensive Documentation:** Detailed documentation guides you through installation, usage, and advanced concepts.
## 🚀 Quick Start
### Installation
## Documentation
* [Getting Started](docs/learn/overview/get-started.md)
* [API Reference](docs/api/jecs.md) (Note: This link may need updating to reflect the actual location of the API docs if they are generated separately)
* [Concepts](docs/learn/concepts/)
* Entities and Components
* Queries
* Relationships
* Component Traits
* Addons
* [Examples](examples/)
* [FAQ](docs/learn/faq/common-issues.md)
* [Contributing](docs/contributing/)
## Quick Example (Luau)
```lua
local world = jecs.World.new()
local Position = world:component() :: jecs.Entity