GCC vs. LLVM Clang Compilers For The Apple M2 On Linux

Written by Michael Larabel in Software on 1 September 2022. Page 2 of 4. 12 Comments

While LLVM Clang is widely used by AArch64 Android vendors, Apple investing heavily in upstream LLVM as part of their Xcode usage, etc, at least when it comes to running on (Asahi) Linux, the GCC 12 compiler was often producing faster AArch64 binaries than Clang.

But there were still many cases where the Clang-built binaries were faster on the Apple M2...

And often times, a toss-up between LLVM Clang and GCC given their significant competitiveness over the years especially on x86_64 but on AArch64/ARM64 too.


Related Articles