news
54
The lost malloc()
2026-11-04A discussion around the lost malloc() focuses on the historical design choice that free() does not receive the allocation size, with readers arguing that passing size on deallocation could eliminate redundant allocator bookkeeping across every allocation since the 1970s. Commenters also weigh the tradeoffs of arena and bump allocators and reflect on how earlier programmers worked closer to the metal.
Comments
0Discuss on Hacker NewsOnly full members can comment
Log in to express your opinion.
No comments yet.