News for hackers. Stuff that matters.
Re:Rust 1.17 by bronz on Friday April 28, 2017 @02:11AM (#14217195)
it actually does in a certain way. if at some point the lone pointer ("pointer") to that memory goes out of scope then the memory is deallocated. happens a lot.
Re:Rust 1.17 by Rusky on Friday April 28, 2017 @12:44PM (#14220936)
I'm well aware of that. Safe Rust, however, allows you to put that pointer in an Rc cycle, or call mem::forget on it, etc.