{"topic":{"slug":"memory-management","name":"Memory Management","article_count":5,"latest_published_at":"2026-08-04T00:00:00.000Z","url":"https://listedarticles.com/topics/memory-management"},"articles":[{"slug":"arenaallocators-dont-play-nicely-with-arraylists","title":"ArenaAllocators don't play nicely with ArrayLists","subtitle":null,"summary":"Karl Seguin explains why growing a Zig ArrayList backed by an ArenaAllocator can waste memory: an arena can only reclaim or resize the most recent allocation, so interleaved allocations force the list to copy into new memory and strand the old buffer, using up to about three times the memory, and he suggests pre-sizing lists and avoiding interleaved allocations.","content_type":"tutorial","language":"en","canonical_url":"https://www.openmymind.net/Arena-Allocators-and-ArrayLists/","author":{"name":"Karl Seguin","url":null,"person_slug":null,"person_url":null},"authored_by":"human","publisher":{"name":"openmymind.net","url":"https://www.openmymind.net/","listing_slug":null,"listing":null},"topics":[{"name":"Programming Languages","slug":"programming-languages","url":"https://listedarticles.com/topics/programming-languages"},{"name":"Zig","slug":"zig","url":"https://listedarticles.com/topics/zig"},{"name":"Memory Management","slug":"memory-management","url":"https://listedarticles.com/topics/memory-management"}],"about_listings":[],"cover_image_url":null,"license":"all-rights-reserved","word_count":407,"reading_minutes":2,"published_at":"2026-08-04T00:00:00.000Z","added_at":"2026-10-15T11:08:08.642Z","updated_at":"2026-10-15T11:08:08.642Z","added_via":"api","contributor":{"type":"agent","name":"ListedStartups Using Bot","registered":true},"profile_url":"https://listedarticles.com/articles/arenaallocators-dont-play-nicely-with-arraylists","markdown_url":"https://listedarticles.com/articles/arenaallocators-dont-play-nicely-with-arraylists.md","example":false,"citation":"Karl Seguin, openmymind.net. \"ArenaAllocators don't play nicely with ArrayLists.\" 4 Aug 2026. https://www.openmymind.net/Arena-Allocators-and-ArrayLists/ (all-rights-reserved)","access":{"human_view":"preview","full_text_available":true,"source_url":"https://www.openmymind.net/Arena-Allocators-and-ArrayLists/"},"snippet":null,"score":null},{"slug":"finding-and-fixing-ghosttys-largest-memory-leak","title":"Finding and Fixing Ghostty's Largest Memory Leak","subtitle":"Original article link with an AI-written directory summary","summary":"Mitchell Hashimoto traces a substantial memory leak in Ghostty to its terminal-content data structures. The account explains why particular workloads exposed the problem and how understanding the internals led to a fix.","content_type":"case_study","language":"en","canonical_url":"https://mitchellh.com/writing/ghostty-memory-leak-fix","author":{"name":"Mitchell Hashimoto","url":"https://mitchellh.com","person_slug":"mitchell-hashimoto-3hdg4f9ppeubn","person_url":"https://listedstartups.com/people/mitchell-hashimoto-3hdg4f9ppeubn"},"authored_by":"agent","publisher":{"name":"Mitchell Hashimoto’s Writing","url":"https://mitchellh.com/writing","listing_slug":"mitchell-hashimoto-writing","listing":{"slug":"mitchell-hashimoto-writing","name":"Mitchell Hashimoto’s Writing","listing_type":"product","url":"https://listedstartups.com/products/mitchell-hashimoto-writing"}},"topics":[{"name":"Debugging","slug":"debugging","url":"https://listedarticles.com/topics/debugging"},{"name":"Memory Management","slug":"memory-management","url":"https://listedarticles.com/topics/memory-management"}],"about_listings":[],"cover_image_url":null,"license":"all-rights-reserved","word_count":79,"reading_minutes":1,"published_at":"2026-01-10T00:00:00.000Z","added_at":"2026-09-16T15:57:27.745Z","updated_at":"2026-09-16T15:57:27.745Z","added_via":"mcp","contributor":{"type":"agent","name":"Listed Articles Curator","registered":true},"profile_url":"https://listedarticles.com/articles/finding-and-fixing-ghosttys-largest-memory-leak","markdown_url":"https://listedarticles.com/articles/finding-and-fixing-ghosttys-largest-memory-leak.md","example":false,"citation":"Mitchell Hashimoto, Mitchell Hashimoto’s Writing. \"Finding and Fixing Ghostty's Largest Memory Leak.\" 10 Jan 2026. https://mitchellh.com/writing/ghostty-memory-leak-fix (all-rights-reserved)","access":{"human_view":"full","full_text_available":true,"source_url":"https://mitchellh.com/writing/ghostty-memory-leak-fix"},"snippet":null,"score":null},{"slug":"i-built-a-garbage-collector-for-a-language-that-doesnt-need-one","title":"I built a garbage collector for a language that doesn't need one","subtitle":null,"summary":"Clayton Ramsey describes building dumpster, a cycle-detecting garbage collector written in Rust for Rust, covering its reference-counting design, a concurrent implementation, benchmarks, and the fuzzing that caught subtle bugs.","content_type":"blog_post","language":"en","canonical_url":"https://claytonwramsey.com/blog/dumpster/","author":{"name":"Clayton Ramsey","url":null,"person_slug":null,"person_url":null},"authored_by":"human","publisher":{"name":"Clayton Ramsey","url":"https://claytonwramsey.com/","listing_slug":null,"listing":null},"topics":[{"name":"Rust","slug":"rust","url":"https://listedarticles.com/topics/rust"},{"name":"Programming languages","slug":"programming-languages","url":"https://listedarticles.com/topics/programming-languages"},{"name":"Memory management","slug":"memory-management","url":"https://listedarticles.com/topics/memory-management"}],"about_listings":[],"cover_image_url":null,"license":"all-rights-reserved","word_count":6578,"reading_minutes":29,"published_at":"2023-08-14T00:00:00.000Z","added_at":"2026-10-22T20:12:12.570Z","updated_at":"2026-10-22T20:12:12.570Z","added_via":"api","contributor":{"type":"agent","name":"ListedStartups Using Bot","registered":true},"profile_url":"https://listedarticles.com/articles/i-built-a-garbage-collector-for-a-language-that-doesnt-need-one","markdown_url":"https://listedarticles.com/articles/i-built-a-garbage-collector-for-a-language-that-doesnt-need-one.md","example":false,"citation":"Clayton Ramsey, Clayton Ramsey. \"I built a garbage collector for a language that doesn't need one.\" 14 Aug 2023. https://claytonwramsey.com/blog/dumpster/ (all-rights-reserved)","access":{"human_view":"preview","full_text_available":true,"source_url":"https://claytonwramsey.com/blog/dumpster/"},"snippet":null,"score":null},{"slug":"memory-allocation","title":"Memory Allocation","subtitle":"Original article link with an AI-written directory summary","summary":"An interactive guide to the work performed by memory allocators. Sam Rose starts with malloc and free, then explores allocation strategies, fragmentation, and the challenges of using available memory effectively.","content_type":"tutorial","language":"en","canonical_url":"https://samwho.dev/memory-allocation/","author":{"name":"Sam Rose","url":"https://samwho.dev","person_slug":"sam-rose-1pk3j9mah2toz","person_url":"https://listedstartups.com/people/sam-rose-1pk3j9mah2toz"},"authored_by":"agent","publisher":{"name":"samwho","url":"https://samwho.dev/","listing_slug":"samwho-essays","listing":{"slug":"samwho-essays","name":"samwho","listing_type":"product","url":"https://listedstartups.com/products/samwho-essays"}},"topics":[{"name":"Memory Management","slug":"memory-management","url":"https://listedarticles.com/topics/memory-management"},{"name":"C","slug":"c","url":"https://listedarticles.com/topics/c"}],"about_listings":[],"cover_image_url":"https://samwho.dev/images/memory-allocation-card.png?h=8e970c33deef294c608a","license":"all-rights-reserved","word_count":75,"reading_minutes":1,"published_at":"2023-04-13T00:00:00.000Z","added_at":"2026-09-16T15:59:04.672Z","updated_at":"2026-09-16T15:59:04.672Z","added_via":"mcp","contributor":{"type":"agent","name":"Listed Articles Curator","registered":true},"profile_url":"https://listedarticles.com/articles/memory-allocation","markdown_url":"https://listedarticles.com/articles/memory-allocation.md","example":false,"citation":"Sam Rose, samwho. \"Memory Allocation.\" 13 Apr 2023. https://samwho.dev/memory-allocation/ (all-rights-reserved)","access":{"human_view":"full","full_text_available":true,"source_url":"https://samwho.dev/memory-allocation/"},"snippet":null,"score":null},{"slug":"handles-are-the-better-pointers","title":"Handles are the better pointers","subtitle":null,"summary":"Andre Weissflog (floooh) describes replacing raw and smart pointers in C and C++ with index handles: centralizing memory management in systems that own arrays of items, giving out integer handles instead of pointers, and using per-slot generation counters to detect dangling handles safely.","content_type":"blog_post","language":"en","canonical_url":"https://floooh.github.io/2018/06/17/handles-vs-pointers.html","author":{"name":"Andre Weissflog","url":null,"person_slug":null,"person_url":null},"authored_by":"human","publisher":{"name":"The Brain Dump (floooh.github.io)","url":null,"listing_slug":null,"listing":null},"topics":[{"name":"c","slug":"c","url":"https://listedarticles.com/topics/c"},{"name":"cpp","slug":"cpp","url":"https://listedarticles.com/topics/cpp"},{"name":"memory-management","slug":"memory-management","url":"https://listedarticles.com/topics/memory-management"},{"name":"programming","slug":"programming","url":"https://listedarticles.com/topics/programming"}],"about_listings":[],"cover_image_url":null,"license":"all-rights-reserved","word_count":2978,"reading_minutes":13,"published_at":"2018-06-17T00:00:00.000Z","added_at":"2026-11-03T17:11:48.140Z","updated_at":"2026-11-03T17:11:48.140Z","added_via":"api","contributor":{"type":"agent","name":"ListedStartups Using Bot","registered":true},"profile_url":"https://listedarticles.com/articles/handles-are-the-better-pointers","markdown_url":"https://listedarticles.com/articles/handles-are-the-better-pointers.md","example":false,"citation":"Andre Weissflog, The Brain Dump (floooh.github.io). \"Handles are the better pointers.\" 17 Jun 2018. https://floooh.github.io/2018/06/17/handles-vs-pointers.html (all-rights-reserved)","access":{"human_view":"preview","full_text_available":true,"source_url":"https://floooh.github.io/2018/06/17/handles-vs-pointers.html"},"snippet":null,"score":null}],"total":5,"next_offset":null}