News for hackers. Stuff that matters.
Re:Allocators in Rust by wyager on Saturday November 15, 2014 @04:15PM (#8612689)
Good point. I wonder if Rust's allocator needs fewer security features because of heavy compile-time heap safety checking. For example, I don't believe use-after-free or double-free is possible in Rust due to Rust's lifetime system (barring use of unsafe code blocks).
Re:Allocators in Rust by musername on Sunday November 16, 2014 @05:19AM (#8613870)
I second that question, as it was my first thought about the difference to the malloc in glibc, or whether it's just ignoring the supposed benefits.