What is malloc doing, anyway?
0 comments · c, unix
- Comments3
0 comments · c, unix
Story details from Lobsters ↗ · linked article on benmandrew.com.
What is malloc doing, anyway? was first seen by Trendoday on Nov 9, 2026. Since then it has appeared in 51 checks on 2 different days. It reached #10 on Lobsters · Hottest on Nov 9, 2026 UTC. It was last seen on Lobsters · Hottest on Nov 10, 14:21 UTC. The same link also trended on Hacker News, which raises its cross-platform score.
Position on Lobsters · Hottest at every check (lower is better).
Best rank per day (UTC).
Platform metric as reported by Lobsters.
| List | Best | Days | Checks | Last seen |
|---|---|---|---|---|
| Lobsters · Hottest | #10 · Badge | 2 | 51 | |
| YHacker News · Front page What is malloc doing, anyway? | same link | |||
A few top-level comments from Lobsters, shortened. Read the full thread on Lobsters.
This is a fairly nice introduction to memory allocation and the syscalls used to implement a memory allocator in a typical Unix userspace. A nice addition would be a discussion of the binary buddy allocation scheme, which is a fairly simple and elegant algorithm, which is used in some real physical memory allocators…
Unfortunately, binary buddy allocation has degenerate fragmentation behavior that's pretty easy to trip on. Hence segregated size classes in most modern allocators.
Archived daily, weekly and monthly lists that include this entry.
Not at the moment. Its last recorded appearance was on Nov 10, 14:21 UTC.
#10 on Nov 9, 2026 UTC.
It was first seen on Nov 9, 2026 and has been on the list on 2 days (51 checks) since.