News for hackers. Stuff that matters.
Re:Memory allocation for the curious by panic on Monday September 18, 2017 @02:15PM (#15278178)
Or, wonder why the heck do I have to read 8k lines to understand how memory allocation works, …

glibc isn't exactly known for having readable code. There are other libc implementations with more of a focus on simplicity. The malloc in musl libc, for example, is only 533 lines long: https://git.musl-libc.org/cgit/musl/tree/src/malloc/malloc.c

There are no comments on this comment yet.