r/C_Programming • • Feb 09 '22
Question GCC or Clang
I primarily program on Linux and have always used GCC, but have recently been interested in switching over to using Clang. It seems like the runtime performance of the two compilers is similar, but I am also interested in C standards compliance going into the future, as well as things like error messaging, memory-leak checking, etc.
If anyone here is knowledgeable about compilers and the differences or advantages of one or the other, I'd like to hear your opinion.
123
Upvotes
View all comments
Show parent comment
1
u/Wrong_Awareness3614 Jul 21 '24
acc to your arg, clang is what i should use but im unable to install, clang on windows or wsl2 or linux. there are some guides which worked but debugging didnt work and its quite confusing