# alecthomas/entityx

EntityX - A fast, type-safe C++ Entity-Component system

Repository: https://github.com/alecthomas/entityx
Canonical: https://ross.abutalabs.com/products/entityx
Language: C++
License: MIT
License Family: permissive
Last push: 2025-08-23T22:57:04+00:00

## Health v2 (maintenance only)
Score: 40/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 38, release rhythm 8, longevity 100
- inputs: {"age_days": 5061, "days_push": 375, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2342, forks 301 (observed 2026-08-28T04:06:39.124760+00:00)

## What it is
EntityX is a fast, type-safe Entity Component System (ECS) library for C++11 that decouples entity logic and data from entity objects. It provides type-safe component management and event delivery, originally built during the development of a 2D space shooter.

## Use cases
- manage game entities with an entity-component-system in C++
- decouple game object data from logic in a C++ game
- build a 2D game with a cache-friendly ECS architecture
- handle events between game entities in C++
- prototype game architecture with type-safe components
- benchmark ECS implementations against Anax or Artemis

## When to choose
- you are writing a C++ game or simulation and want a lightweight, type-safe ECS
- you need cache-friendly component storage for many entities
- you want a minimal C++11 library with no Boost dependency

## When to avoid
- you need a full game engine with rendering, physics, and audio built in
- your project requires modern C++17/20 features or active feature development
- you are working in a language other than C++

## Facets
- artifact type: library
- maturity: maintenance
- function: game-engine, simulation
- domain: graphics, simulation
- platform: cpp, cross-platform
- tags: entity-component-system, ecs, cpp11, game-architecture, game-development

## Member repositories
- alecthomas/entityx (main) score 40

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:39.124760+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:37:16.740079+00:00, confidence not recorded.
  - readme: https://github.com/alecthomas/entityx (fetched 2026-08-28T04:06:39.124760+00:00, sha 2eec47ed1213)
- Data as of 2026-08-30T08:39:29.467469+00:00.
