Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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).


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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: