3 ms·
Possibly Rust needs a GC<> wrapper type, which makes everything it contains garbage collectable. And then you could be bare metal, except when you want to not
by AndrewDucker 3y ago
Possibly Rust needs a GC<> wrapper type, which makes everything it contains garbage collectable. And then you could be bare metal, except when you want to not be.
- zozbot234 3y agoThere are a number of efforts along these lines, the most interesting is probably Samsara https://github.com/chc4/samsara https://github.com/chc4/samsara https://redvice.org/2023/samsara-garbage-collector/ https://redvice.org/2023/samsara-garbage-collector/ which implements a concurrent, thread-safe GC with no global "stop the world" phase.
- deleted 3y ago[deleted]