{"repo":"wagnerks/ecss","free":true,"listed":false,"github":"https://github.com/wagnerks/ecss","clone":"git clone https://github.com/wagnerks/ecss.git","description":"High-performance C++ ECS with cache-friendly sector-based architecture and multithreading support.","language":"C++","stars":24,"topics":["cpp","data-oriented","dod","ecs","entity-component-system","game-engine","gamedev","memory-layout","multithreading","performance"],"license":"MIT","category":"game-templates","readme_excerpt":"ecss – Lightweight high‑speed C++ Entity Component System (sector / chunk based) ecss is a minimal, performance‑oriented ECS. One (or several explicitly grouped) component types for an entity are stored contiguously inside a fixed layout memory block called a sector : Sectors live inside chunked storage that grows by powers of two. Offsets are computed at compile time (no RTTI / string hashing in hot loops) and the core stays small (a few headers, no code generation, no macro DSL). What is ECS? Projects using ECSS ECSS was originally developed inside the Stellar Forge Engine as its core ECS solution. After proving its performance and flexibility in a real engine, ECSS was extracted into a standalone library. 🔑 Core Characteristics - Sector (chunk) storage: tightly packed, deterministic offsets, low fragmentation - Explicit grouping: opt‑in only (avoid archetype explosion); unrelated types live in their own arrays - O(1) id → sector lookup (direct pointer map, lock‑free snapshot view in TS build) - Optional thread safety: Registry adds shared/unique locks + per‑sector pin counters - Deferred erase + opportunistic / explicit defragmentation (alive runs compacted left) - Dense reflection: lightweight type id per registry (no global state) - Header‑only style integration, no external deps (C++20/23 stdlib only) 🧠 Design Principles - Branch‑lean inner loops (mask test + pointer arithmetic only) - No virtual dispatch in hot iteration - Deterministic layout = stable perf tuning / ","default_branch":null,"files":null,"tree":[],"storefront":"/r/wagnerks","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/wagnerks/ecss/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}