Hacker News new | ask | show | jobs
by socialdemocrat 1920 days 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.