Is a hardware accelerated garbage collector possible?

⚓ Rust    📅 2025-10-10    👤 surdeus    👁️ 4      

surdeus

We all love Rust because it doesn't need a GC to guarantee memory safety, among other things.

One idea that keeps creeping to me is what if garbage collection can be done in a few picoseconds utilizing a hardware device that keeps track of object lifetimes either separately as in a client/server model or using additional bits added to the word to keep track of them individually?

As Rust forums is a place with a lot of professionals knowledgeable in hardware, I wanted to ask this here. I'm by no means a hardware person.

2 posts - 2 participants

Read full topic

🏷️ Rust_feed