4 ms·How did you implement the GC? Is it possible to implement an allocator + GC in Rust without hitting UB?by tomp 7y agoHow did you implement the GC? Is it possible to implement an allocator + GC in Rust without hitting UB?enitihas 7y agoYou can simply use unsafe as an escape hatchtomp 7y agoSure, but would that eliminate UB? C++ is all unsafe, and still full of UB gotchas.