Dev.to
5/11/2026

Why I Built a High-Performance 2D/2.5D Engine in TypeScript (and Why I Ditched OOP)
Short summary
Developer built Loom Engine, a TypeScript 2D/2.5D game engine using Entity Component System (ECS) and Structure of Arrays (SoA) for performance—storing data in contiguous TypedArrays instead of scattered objects. The architecture achieves 100k entities at 60 FPS by optimizing for CPU cache efficiency and V8 engine behavior. Explores why traditional OOP fails at scale and shares deterministic simulation patterns for browser-based games.
- •Ditched OOP for ECS+SoA architecture to achieve 100k entity count at 60 FPS
- •Contiguous TypedArrays minimize cache misses and maximize V8 engine efficiency
- •Deterministic simulation design needed for browser-based game engines
Generated with AI, which can make mistakes.
Is this a good recommendation for you?



