Untangling Lifetimes: The Arena Allocator - by Ryan Fleury
dgtlgrove.com · 8,102 words · saved by 1 readers
Making performant dynamic manual memory management in C feel almost like garbage collection.
Untangling Lifetimes Making performant dynamic manual memory management in C feel almost like garbage collection. Ryan Fleury Sep 23, 2022 330 50 14 Share When I’ve said that I prefer to write my software in C, a common response is raised eyebrows. Dominant memes in software culture make my position unpopular. “Why would you write new code in an unsafe systems language?”, “performance isn’t everything!”, and perhaps the most common, “why subject yourself to the requirement of manually managing memory?” . There exists a prevalent perception that manual memory management is difficult to do, diff
saved by
related reading
- The Lost Art of Structure Packingcatb.org
- Memory Allocation in Go | Melatoninghiant3223.github.io
- Destroy All Values: Designing Deinitialization in Programming Languages - Faultloregankra.github.io
- What Every Programmer Should Know About Memorypeople.freebsd.org
- Write code that is easy to delete, not easy to... — programming is terribleprogrammingisterrible.com
- (Re)writing an interpreter in Rust – Danny van Kootendannyvankooten.com
- Memory safety and ownership - Rust for C-Programmersrust-for-c-programmers.com
- malloc.pdfphk.freebsd.dk
- CS107E Assignment 4: Stack and Heapcs107e.github.io
- Working with strings in Rustfasterthanli.me
- Memory allocatorcs162.org
- Writing a C compiler in 500 lines of Pythonvgel.me