News for hackers. Stuff that matters.
Re:A tiny Unix dynamic memory allocator library by woahhvicky on Saturday September 23, 2017 @03:23AM (#15318632)
This is implemented in terms of calloc()/free(). Is this a joke? Or some kind of post-modern art? Genuinely curious, the use cases aren't clear.
Re:A tiny Unix dynamic memory allocator library by kabdib on Saturday September 23, 2017 @05:19AM (#15318928)
Maybe as a debugging cover for memory (but then you'd expect functionality for heap checking, block tracking and leak detection, etc). Forbidding a null pointer on free is a breaking change and a little naive. It's not terribly useful.