I had to compile a program written in C on a device using Clang instead of my usual GCC... Immediately it shot me a very specific warning about an array indexed off the end of an array which GCC, with all the same flags, seems to have missed.
Are warnings on Clang that much better, and if so, is GCC still relevant? What can it do that Clang does not?
clang is dependent llvm which is larger than my music collection. i'll pass on this zoomer shit, thanks.
Carson Collins
>Are warnings on Clang that much better yes. gcc is trash. next question
Lucas Phillips
Clang is where the developer energy is focussed right now, but since it's permissively licensed, anything generally useful in it will eventually make it into gcc also. Best bet is to download both and make sure your code works on both; msvc too if you're on windows.
James Green
llvm is a new generation of compilers gcc is old trash
Jacob Foster
>Use Gentoo >Compile everything with llvm except the few things that need GCC. >Mfw
iv heard that Clang enables people to write meme languages much easier so maybe on that aspect its superior
Jordan Turner
clang has better compiler tooling in general. the problem though is you have nonfree clang, but not-clang xcode and a bunch of these other random compiler companies shitting out value-add nonfree toolchains with it.
MSVC warnings are better, but most of the shit you see in MSVC is already in experimental clang releases.
Kevin Jackson
I can't believe I chuckled to this retarded shit
Jordan Jones
not only that but is magnitudes easier to target LLVM towards a new processor architecture/instruction set than it is with GCC