Hacker News new | past | comments | ask | show | jobs | submit login

Rust used to use jemalloc, which was arguably the better default. For some reason they switched it to the system allocator when they added support for specifying the global allocator



jemalloc was not the default on every platform, but was on some. It adds a non-trivial amount of binary size to every program, even ones that don't need the performance boost, and that is an area Rust is often criticized vs C.

That said, there are a few reasons beyond just that. For the primary sources: https://github.com/rust-lang/rust/issues/36963




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

Search: