# Entity Component System (ECS) & Data-Oriented Design: Maximizing Cache Locality For decades, software engineering championed Object-Oriented Programming (OOP) as the gold standard for game architecture: abstract polymorphic base classes, heap-allocated entities, and virtual method dispatches. In high-throughput simulation engines, massive real-time strategies, and open-world titles, this approach leads to catastrophic performance bottlenecks. The limiting factor in modern computing is not raw CPU arithmetic throughput, but **memory latency**. In this technical paper, we explore how **Data-Oriented Design (DOD)** and **Entity Component Systems (ECS)** structure contiguous memory layouts to maximize hardware cache efficiency.