{"full_name":"SanderMertens/flecs","owner":"SanderMertens","name":"flecs","shard":"1","url":"https://github.com/SanderMertens/flecs","description":"A fast entity component system (ECS) for C & C++","homepage":"https://www.flecs.dev","topics":["ecs","c99","cpp11","cpp14","cpp17","data-oriented","data-oriented-design","entity-component-system","entity-framework","flecs","game-development","game-engine","game-engine-framework","gamedev","modern-cpp"],"tag_pages":["cpp11","cpp14","cpp17","game-development","game-engine","gamedev"],"language":"C","license":"NOASSERTION","avatar":"https://avatars.githubusercontent.com/u/9919222?u=c255d45d76514ff1c73de590bc5793f2e080a6ee&v=4","created_at":"2018-08-26T05:53:05Z","pushed_at":"2026-11-14T21:36:31Z","metrics":{"stars":8845,"forks":632,"watchers":78,"issues":788,"prs":1539,"releases":66,"issues_open":32,"issues_closed":756,"prs_open":38,"prs_closed":153,"prs_merged":1348,"discussions":67},"growth":{"day":{"stars":6,"forks":1,"base_day":"2026-11-15"}},"history":{"dates":["2026-11-10","2026-11-11","2026-11-12","2026-11-13","2026-11-14","2026-11-15","2026-11-16"],"stars":[8828,8833,8834,8835,8837,8839,8845],"forks":[630,630,630,630,631,631,632],"watchers":[null,78,78,78,78,78,78],"issues_open":[null,31,31,31,31,31,32],"prs_open":[null,36,38,38,37,38,38]},"boards":{},"same_owner":[],"issues":[{"number":1317,"title":"C++20 module support","comments":19,"created_at":"2024-08-20T14:00:44Z"},{"number":478,"title":"Incorrect memory alignment of components.","comments":16,"created_at":"2021-08-31T23:22:59Z"},{"number":680,"title":"Pluggable storages","comments":8,"created_at":"2022-03-18T10:02:37Z"},{"number":714,"title":"Stack overflow with two acyclic relations in opposite directions","comments":5,"created_at":"2022-05-04T13:16:18Z"},{"number":1345,"title":"Add support for component inheritance to the reflection framework","comments":4,"created_at":"2024-09-09T12:15:33Z"},{"number":872,"title":"Multi-threaded stats","comments":4,"created_at":"2022-11-30T02:51:23Z"},{"number":2094,"title":"Tick Source should be able to tick more than once per frame","comments":3,"created_at":"2026-05-14T06:13:28Z"},{"number":326,"title":"Allow for associating multiple queries with single system.","comments":3,"created_at":"2021-03-03T19:42:33Z"}],"discussions":[{"number":2143,"title":"Error while try create function in flecs script","comments":1,"category":"Q&A","created_at":"2026-06-15T15:18:33Z"},{"number":2131,"title":"Loading models and other complex data during flecs world deserialization","comments":1,"category":"Q&A","created_at":"2026-06-11T01:23:47Z"},{"number":2121,"title":"How to gate systems by a global enum game state","comments":0,"category":"Q&A","created_at":"2026-06-03T10:11:47Z"},{"number":1895,"title":"Error when using world in different std::thread","comments":0,"category":"Q&A","created_at":"2025-12-19T14:32:14Z"},{"number":1894,"title":"Deserialize a component from a custom format","comments":1,"category":"Q&A","created_at":"2025-12-16T03:03:00Z"},{"number":1885,"title":"running script on system","comments":1,"category":"Q&A","created_at":"2025-12-03T02:09:32Z"},{"number":1883,"title":"confused with auto sync points","comments":1,"category":"Q&A","created_at":"2025-12-01T04:06:53Z"},{"number":1737,"title":"Separate Systems/Pipelines for Update and Draw cycles","comments":1,"category":"Q&A","created_at":"2025-07-26T21:35:01Z"}],"latest_release":{"name":"Flecs v4.2.0","tag":"v4.2.0","published_at":"2026-11-04T05:48:45Z","body":"## Release announcement\r\nhttps://ajmmertens.medium.com/flecs-4-2-is-out-09435e80fdd1\r\n\r\n## Release notes\r\n\r\n**This version includes the following improvements:**\r\n\r\n- [[core](https://github.com/SanderMertens/flecs/commit/0c23311b25137489e6abef6f3860e8eee731a8bb)] Flush stage commands in ecs_fini\r\n- [[core](https://github.com/SanderMertens/flecs/commit/b5dc21849a552036b11df9b4bba572ebc776047e)] Detect WebAssembly targets other than Emscripten (thanks @andrewgazelka!)\r\n- [[core](https://github.com/SanderMertens/flecs/commit/119b5ef28686a1893eda6722a00803e8932cbeb7)] Default to Any term for observers without terms\r\n- [[core](https://github.com/SanderMertens/flecs/commit/9ef0665b9ed9333b32db2a4f2476b1ef24fb758f)] Rename (OnInstantiate, Override) trait to (OnInstantiate, Copy)\r\n- [[core](https://github.com/SanderMertens/flecs/commit/4176192ecd8b22ed151a599df8899da9dfad02ec)] Add ecs_ref_from_ptr()\r\n- [[core](https://github.com/SanderMertens/flecs/commit/961e8eec298fe4eb99e88382d0ceb3cb2d0adab9)] Lock tables for OnAdd/OnRemove hooks and observers\r\n- [[core](https://github.com/SanderMertens/flecs/commit/75fa09fa2f0874cb26bda8626ffdc0bce41a4f9e)] Only allow DontFragment With targets on DontFragment components\r\n- [[core](https://github.com/SanderMertens/flecs/commit/e2cbd50be30e22cb25f1eee95ae415e3768aab69)] Reduce overhead of disabling entities\r\n- [[core](https://github.com/SanderMertens/flecs/commit/e201c607f86c3f2d3b2009fdbb3ba682c2b8c51d)] Optimize performance and memory usage of table graph storage\r\n- [[core](https://github.com/SanderMertens/flecs/commit/e0280d488f077274c29b95c2f92a8fe1c3386466)] Allow changing components of instantiated prefab by clearing stale IsA edges\r\n- [[core](https://github.com/SanderMertens/flecs/commit/ddc33b610dbff2834a8f04b26a47b3a294137551)] Do not silence warnings in user code\r\n- [[core](https://github.com/SanderMertens/flecs/commit/eba64e46300af562af8a6864def68ff90ad2c208)] Add Sparse and DontFragment support to ecs_each_id\r\n- [[core](https://github.com/SanderMertens/flecs/commit/2919586c8b4f8cc71c63e5ac64f25fefb4d7fc9f)] Return empty iterator from ecs_children for Wildcard and Any parents\r\n- [[core](https://github.com/SanderMertens/flecs/commit/4f12f78333fa97a3d5005ab0b43faabad9c04419)] Rename ecs_is_deferred to ecs_is_stage\r\n- [[script](https://github.com/SanderMertens/flecs/commit/74216a6706dc76358ca9491ca37a837da6c54d26)] Warn when a script inherits from Prefab instead of declaring a prefab\r\n- [[core](https://github.com/SanderMertens/flecs/commit/2ea40dd95c6940e7432408843c7f5ed03170bd90)] Emit ChildOf events for entities created with ecs_new_w_parent\r\n- [[core](https://github.com/SanderMertens/flecs/commit/2c517a7705218b9e06d7a0e6a70f155921e14bad)] Remove implicit defer mode from core\r\n- [[core](https://github.com/SanderMertens/flecs/commit/9df3fc1ff79cf52c0225bf3bb67857b3655c36f7)] Implement component inheritance as storage feature\r\n- [[core](https://github.com/SanderMertens/flecs/commit/6259d63789417069ec466ce0394af6a3af220416)] Allow setting cmp/equals hooks on in-use components\r\n- [[core](https://github.com/SanderMertens/flecs/commit/ca4b5e9247b9c149a2f0d71dad34a12b680c15be)] Copy inherited DontFragment components to instantiated prefab children that have no IsA relationship with the prefab child\r\n- [[core](https://github.com/SanderMertens/flecs/commit/0e07b835a2f5cb2c6b191b1d12125b4dc53e8306)] Events only propagate down a subtree when an observer with an up term exists for the id\r\n- [[core](https://github.com/SanderMertens/flecs/commit/7b15e5c10b63b07a1de9796c12972eac6c7095bf)] Observers skip the query engine for tables that cannot match by type and resolve single up(IsA) terms through the base table\r\n- [[core](https://github.com/SanderMertens/flecs/commit/91ac4d5c85d6ff52382cfd2e7f74e4c7bcb073cd)] Skip observer maps that hold only up notify observers when forwarding events\r\n- [[core](https://github.com/SanderMertens/flecs/commit/40961229a40fba65949450a99784a422aa7aebbf)] Create named childr","is_prerelease":false},"readme":true,"readme_zh":false,"news":[],"stale":false,"snapshot_at":"2026-11-16T09:23:14Z","history_start":"2026-09-06"}