I built a garbage collector for a language that doesn't need one (claytonwramsey.github.io)
from tedu@azorius.net to programming@azorius.net on 14 Aug 2023 16:42
https://azorius.net/g/programming/p/T2nMN4J82L4K1frP7K-I-built-a-garbage-collector-for-a-language-that-

Over this summer, I’ve had a decent amount of time to kill. What better way to spend a beautiful hot summer than sitting inside, staring at core dumps in a supposedly memory-safe language? I built a garbage collector - in short, a piece of software that manages allocations for another, more exciting piece of software. The cool part: I made it in Rust, for Rust - a language designed to eliminate garbage collection and which provides few facilities for making it work properly. Not only that, I managed to make my garbage collector work with relatively few compromises, which I’ll describe in further detail lower down.

https://github.com/claytonwramsey/dumpster

#garbage-collection #programming #rust

threaded - newest