Why malloc always does more than I asked for?

(ssenthilnathan3.github.io)

3 points | by nathaah3 17 hours ago ago

2 comments

  • irenaeus 17 hours ago

    I've read some allocator walkthroughs before but I thought that this line stood out:

    "to get individual free() working, the allocator needs to remember something about every allocation it handed out. and that’s the moment metadata stops being optional."

    That's just a very nice distillation of an important concept.

    • nathaah3 16 hours ago

      glad you found it useful :)