Default musl allocator considered harmful (to performance)

38 points by runxiyu


mwcampbell

The author lost me when they benchmarked on a 48-core server. These days, I’m interested in scaling down, with more small and fast software running on more individuals’ computers.

I’m generally reluctant to say that systemic problems are individual skill issues. So instead, I think Rust should do more to support and encourage alternative allocation strategies that don’t suffer from the general-purpose allocator bottleneck. I guess that means a combination of arenas and simply requiring fewer allocations.