News for hackers. Stuff that matters.
Re:Why does musl make my Rust code so slow? (2020) by a_humean on Tuesday December 12, 2023 @02:45PM (#38617336)
Not sure its right to blame the code when changing the base image/allocator results in 30x performance improvements on the same hardware. I would be inclined to blame a poor choice of base image/allocator.
Re:Why does musl make my Rust code so slow? (2020) by croemer on Tuesday December 12, 2023 @02:49PM (#38617422)
It's not a docker thing, we're getting the same 30x performance hit without using docker, simply compiling musl vs glibc binaries with the default allocator chosen by Rust.