Re:Rust: Dropping heavy things in another thread can make yo...
by steveklabnik on Sunday May 31, 2020 @09:08AM
(#23369337)
It is not an allocator wrapper, but https://docs.rs/defer-drop/1.0.1/defer_drop/index.html
As far as I know it would require both Rust's borrowing semantics and Zig's architectural choice.
From purely my own fan-boy perspective Zig approach is something that I would have really liked for Rust to adopt (I have no idea of which one came first chronologically).