Embed Notice
HTML Code
Corresponding Notice
- Embed this notice@dushman Clang+LLVM is NOT superior to GCC, rather it's the other way round.
This is a fact.
The most important thing when it comes to software is the license, followed by functionality.
GCC is licensed under the GPLv3-or-later, which is a freedom-defending license and ensure that the compiler is always free.
Meanwhile, clang is licensed under the pushover Apache 2.0 with further exceptions, which means that proprietary version are allowed and many of those do exist - all taking the users freedom.
When it comes to functionality, GCC supports all the GNU C features, supports more architectures and compiles in a reasonable time, with a reasonable amount of memory (as the limited subset of sepples allowed limits the drawbacks of sepples).
Sure Clang does the equivalent of -funroll-loops when compiling with -O3, meaning it often produces faster code when it comes to benchmarks, but when it comes to the important things like compiling GNU software, it produces worse binaries.