2 ms·
This is one of the reasons why I've been building Cosmopolitan Libc. https://github.com/jart/cosmopolitan https://github.com/jart/cosmopolitan Alpine and Musl a
by jart 5y ago
This is one of the reasons why I've been building Cosmopolitan Libc. https://github.com/jart/cosmopolitan https://github.com/jart/cosmopolitan Alpine and Musl aren't radical enough on the bloat-free angle (since they don't fix root problem which is dynamic shared objects) and their definition of portability is supporting architectures like sega saturn but do nothing to support intel/amd microarchitectural dispatching, which is likely why you encountered performance issues. It's like, I love Musl so much, but I just didn't see the value in being able to port my apps to Sega Saturn if my C Library only runs on Linux and has suboptimal performance on x86.
[side note] I seem to recall there being something about the the way the musl header files are written that basically throws a wrench into any scientific computing code that's compiled with it. Might have something to do with security like those checks intended to prevent people from overlapping memcpy so someone should totally fix that.