Free C C++ Fortran compiler families

Several modern, currently-supported compiler families are free-to-use for C, C++ and Fortran.

GCC has broad support of modern standards on a very wide range of computing platforms. GCC’s downside in some cases can be slower runtime performance than compilers having less broad language and platform support.

Compiler C C++ Fortran
GNU gcc: C23 g++ C++23 gfortran: F2018
Intel oneAPI icx: C23 icpx: C++23 ifx: F2023
LLVM clang: C17 clang++: C++23 flang-f18: F2018
AOCC clang: C17 clang++: C++17 flang: F2008
NVidia HPC SDK nvc: C11 nvc++: C++20 nvfortran: F2003
IBM OpenXL xlc: C17 xlc++: C++17 xlf: F2018

Intel oneAPI compilers are free to use for any user. The Intel performance libraries like MKL, IPP, and TBB are available at no cost.

LLVM Clang and Flang have significant industry support, including from Nvidia, and are known for high performance.

AMD AOCC LLVM compiler is tuned for AMD CPUs.

Nvidia HPC SDK is free to use. A key feature of the HPC SDK compilers is intrinsic support for CUDA Fortran.

IBM OpenXL LLVM-based compilers are currently for POWER CPUs only e.g. ppc64le. IBM OpenXL compilers do not work with a typical x86-based computer.