Show Your Support:  This site is primarily supported by advertisements. Ads are what have allowed this site to be maintained on a daily basis for the

GCC 14 vs. LLVM Clang 18 Compiler Performance On Fedora 40

submited by
Style Pass
2024-04-24 20:30:09

Show Your Support: This site is primarily supported by advertisements. Ads are what have allowed this site to be maintained on a daily basis for the past 19+ years. We do our best to ensure only clean, relevant ads are shown, when any nasty ads are detected, we work to remove them ASAP. If you would like to view the site without ads while still supporting our work, please consider our ad-free Phoronix Premium .

One of the leading-edge benefits of Fedora Linux is that it always ships with the most up-to-date open-source compiler toolchains at release. For their spring releases each year, it typically means shipping with a GCC compiler that isn't even officially released as stable yet. With this week's release of Fedora 40, it's shipping with GCC 14.0.1 as the development version that will culminate with the inaugural GCC 14 stable release in the coming weeks. Plus Fedora 40 has all of the other latest GNU toolchain components and then over on the LLVM side is with the current LLVM 18 stable series. For those curious how GCC 14 vs. LLVM Clang 18 performance is looking, here is a wide range of C/C++ benchmarks carried out on Fedora Workstation 40 using a System76 Thelio Major workstation powered by the Zen 4 AMD Ryzen Threadripper 7980X.

For our first look at the GCC 14 vs. Clang 18 compiler performance, I ran more than 120 benchmarks this week looking at how the 64-core Ryzen Threadripper 7980X is performing for each of these compilers as shipped by Fedora 40 and maintaining the same CFLAGS/CXXFLAGS throughout.

Leave a Comment