← all releases
Diffusion Studio·Sep 6, 2026·rolling·open source

apecs

Apecs is a high-performance, archetype-based Entity Component System (ECS) library designed for TypeScript applications. It optimizes state management by storing data in contiguous typed arrays, enabling efficient iteration and memory usage for performance-critical simulations.

ECSTypeScriptGame EnginePerformance
visit website github ↗
overview

Apecs is a high-performance, archetype-based Entity Component System (ECS) library designed for TypeScript applications. It optimizes state management by storing data in contiguous typed arrays, enabling efficient iteration and memory usage for performance-critical simulations.

key features
  • 01Archetype-based storage for high-performance iteration
  • 02Zero-allocation query system
  • 03Built-in React and Solid.js bindings
  • 04Advanced change detection and sorted iteration
  • 05Lightweight footprint (18 kB min+gzip) with zero dependencies
related productsbrowse all →