4 ms·
> The reality is you still have to free resources Err not so fast there. It's quite common in C to allocate an array of objects (not pointers) and reuse them a
by tus88 7y ago
> The reality is you still have to free resources
Err not so fast there. It's quite common in C to allocate an array of objects (not pointers) and reuse them as they expire. Memset is enough to reinitialize them.
And the the main point, lot's of game dev is "C wrapped in C++", game devs tend to rewrite everything for performance and predictability, relying on STL is usually a nope.