2 ms·
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-afte
by wyager 12y ago
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).
- musername 12y agoI 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.