A Memory Allocator
Not investment advice. Muhabbit scores how much a story may matter, not which way to trade.
Doug Lea’s dlmalloc, a public-domain C memory allocator he began writing in 1987, became the default native malloc in some Linux versions and was compiled into several widely used software packages, PC environments and embedded systems. Lea created it after C++ programs relying on dynamic memory ran far slower and consumed more memory than expected on then-current SunOS and BSD systems, and he sought a general-purpose allocator that would reduce the need for class-specific custom allocators. The allocator implements malloc(), free() and realloc() and adheres to ANSI/POSIX conventions while minimizing reliance on system-dependent features to maximize portability. It matters because allocator performance directly affects the speed and memory footprint of a broad swath of infrastructure software. Lea notes the accompanying article is now out of date and no longer reflects the current malloc version, so users should consult the code distribution for up-to-date details.
Muhabbit's AI wrote this summary in its own words from Hacker News's report. It can get details wrong, so check the source.
Named in this story
dlmalloc, Doug Lea, Linux, BSD, SunOS