2 ms·
It is much better structured than C. Everything in the standard library that allocated memory takes an allocator as first argument. And you got cleanup with de
by socialdemocrat 6y ago
It is much better structured than C. Everything in the standard library that allocated memory takes an allocator as first argument.
And you got cleanup with defer statements. Together this makes the memory management story very different from C.