Re:Why does musl make my Rust code so slow? (2020)
by MuffinFlavored on Tuesday December 12, 2023 @04:52PM
(#38619175)
Fantasy land: it'd be cool if something like this got upstreamed into stdlib/libc repos as like "fast_memcpy" (I'm guessing it's too not-backwards-compatible enough to make it the default) so large powerful big players don't all have their own "slighty-non-standard" way of doing this?
In ClickHouse, we use jemalloc as a memory allocator and custom memcpy: https://github.com/ClickHouse/ClickHouse/blob/master/base/gl...
So, the Musl build does not imply performance degradations. But the usage of Musl is not related to Docker, because ClickHouse is a single self-contained binary anyway, and it is easy to use without Docker.