>>545721
>Will this replace gcc as the default compiler?
probably not. gcc has the advantage of being more mature, and it is being actively developed by companies too
>>545725
I think he meant both.
GCC extends the basic C standard with some features that Clang is trying to replicate. Some projects use std=gnu, some others do not.
Compiled binaries usually perform better. GCC is better at optimizing code, and Clang/LLVM builds code faster and using less memory (probably because it doesn't optimize as much as GCC).
>>545781
> it gives more useful warnings and errors than GCC
false: https://gcc.gnu.org/wiki/ClangDiagnosticsComparison
>>545781
>>546051
you both fundamentally agree. XCode could have used GCC's internals without problem, but it would have had to be released under the GPL as well. GCC even has a plugin architecture built-in.
>>545801
>FreeBSD
why am I not surprised? Many FreeBSD developers work on virtual machines running inside OSX in macbooks Apple donates to them.
>>545803
>Objective C being libre is basically the reason Clang exists.
so much this.
Steve Retarded Jobs didn't know his copyright law, much less he understood free software; so when he heard that there was a "free" compiler available he immediately instructed his employees to create Objective-C with it, and he never imagined that the FSF would require him to not keep Objective-C closed.
>>545839
>The only area that LLVM is better in real-world use is warning/error output and utilities like clang-format
I don't think so. Clang probably has nicer static analysis tools, but GCC is now on par if not better in terms of warning/error output. See the link above.
The only area where LLVM is better is in JIT capabilities, because GCC has no JIT at all although I think a Red Hat employee was working on it. This is why Mesa uses an LLVM software fallback; OpenGL needs to be optimized and compiled at runtime.
>>546090
so full of bullshit.
Stallman doesn't mind vendors interfacing with GCC, but he wants to do his best using the influence of GCC to spread the GPL to dependent projects. GCC is in fact explicitly designed to allow GPL tools to interoperate with it (i.e. Emacs) but it is also explicitly designed to to make it hard for non-GPL projects to interoperate with it. If you want to leverage GCC's capabilities you need to link to it; there's no easy way to pass data through IPC or something that wouldn't trigger a copyright derivative in court.
Hats off to Stallman for fighting relentlessly for the free software cause. The GCC case shows how fucking focused he is. It's a shame LLVM was created to be the bitch of proprietary masters, because it makes GCC lose its advantage bringing more free software to the world.
With LLVM this is not a problem because LLVM doesn't use the GPL. There's no extra library capabilities in LLVM that GCC lacks.
You fucking gullible retards that swallow anything the popular opinion throws at you. Why don't you fucking do your own research before spouting the same nonsense? You ungrateful cunts wouldn't even be able to program in Objective-C without sucking Apple's dick, hadn't it been for Stallman and his magnificent GCC agenda.