This is the first in a series of posts will discuss why garbage collection is hard, especially for Rust, and brainstorm about solutions to the problems we face.
The relationship between garbage collection (GC) and the Rust programming language has been an interesting one.
GC was originally deeply integrated into the language, complete with
dedicated syntax (good old
@T …). Over time the team found ways to
lessen the dependency on GC, and then finally remove it from the
However, we still want to provide support for garbage collection.
To explain why, I need to define the actual problems we seek to solve. So let us explore the problem space.