Luau MIT

jecs

A fast, portable Entity Component System for Luau

U

Ukendio

Dernière activité 17 sept. 2026
Ukendio/jecs

470

étoiles

79

forks

15

issues ouvertes

data-orienteddata-oriented-designecsentity-component-systemgame-developmentgamedevjecslualuauno-dependencies

Ce README est souvent en anglais.

Just a stupidly fast Entity Component System

  • Entity Relationships as first class citizens
  • Iterate 800,000 entities at 60 frames per second
  • Type-safe Luau API
  • Zero-dependency package
  • Optimized for column-major operations
  • Cache friendly archetype/SoA storage
  • Rigorously unit tested for stability

Get Started

It is recommended that you clone the repository and navigate the documentation in your favourite editor.

This repository includes a few subfolders that can help you get started with jecs:

  • how_to: This is a step-by-step introduction to how this ECS works and the reasoning behind its design.

  • modules: 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.

  • examples: These are larger programs that showcase real use cases and can help you understand how everything fits together.

If you wish to view the documentation inside Roblox Studio, you can find an importable model file here.

Benchmarks

21,000 entities 125 archetypes 4 random components queried. Queries Can be found under /test/benches/visual/query.luau

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

Projets similaires

A fast entity component system (ECS) for C & C++

Cc99cpp11cpp14
SSanderMertens
8,7 k étoiles624

Gaming meets modern C++ - a fast and reliable entity component system (ECS) and much more

C++architectural-patternscppcpp17
Sskypjack
13,2 k étoiles1,1 k

A curated list of Entity-Component-System (ECS) libraries and resources

Pythonawesome-listdata-oriented-designecs
Jjslee02
701 étoiles64