News for hackers. Stuff that matters.
Re:When can glibc be built with Clang? by voldacar on Wednesday October 13, 2021 @05:57PM (#28858185)
clang wins on some benchmarks, but gcc wins on over 50% of benchmarks, at least this always seems to be the case whenever I look it up.

If I were writing a program that needed to be really fast I would just compile with both on max optimizations and pick whichever was best. Most software isn't the linux kernel and will work fine with both compilers

Re:When can glibc be built with Clang? by qalmakka on Saturday October 16, 2021 @04:35AM (#28886406)
These benchmarks also don't reflect how good are the backends for different CPU architectures in GCC and LLVM.

For instance, GCC is by far the dominant compiler on GNU/Linux on x86, while LLVM has a almost total monopoly of AArch64 (think about Android NDK + iOS + macOS). I think it would be quite natural for the GCC AArch64 backend to get less focus compared to its x86 counterpart. It's a complicated landscape that is always full of gotchas, and that's why I don't like these kinds of benchmarks a lot.

Re:When can glibc be built with Clang? by pyler on Wednesday October 13, 2021 @06:41PM (#28858496)
source? llvm 13?