Survey of 40 major C projects: only 8 rely solely on malloc/free

blaizedsouza · x · 2026-11-16

Phil Eaton's survey of memory management in 40 major C projects (paywall expired, free to read) finds only 8 projects allocate solely with malloc/free, 15 use regions at some point, 5 primarily use garbage collection, and 3 primarily use reference counting. Notably, SQLite allocates 100% manually, cURL and Redis are 94%/79% manual, and Linux and QEMU have recently adopted scope-based cleanup via compiler extensions.

Original post →

More from coding & agent

coding & agent channel →