| ▲ | stmw 13 hours ago | |
Compiler know-how and resources available during compilations made very signicant progress between gcc and LLVM/clang era. gcc was and is an incredible achievement, but it is traditionally considered difficult to implement many modern compiler techqniques in it. It's at least unpleasant, let's put it this way. | ||
| ▲ | uecker 11 hours ago | parent | next [-] | |
Not sure whether this is generally true. GCC appears to have similar optimizations and I personally find LLVM's code much more intimidating. But it is certainly true that LLVM seems to see more investment. I assume the license may also play a role. For comparison, here is some related code: https://github.com/gcc-mirror/gcc/blob/master/gcc/tree-chrec... https://github.com/llvm/llvm-project/blob/release/21.x/llvm/... | ||
| ▲ | saagarjha 9 hours ago | parent | prev [-] | |
GCC has almost the same modern compiler techniques implemented. | ||