3 ms·
Clang had a number of benefits over GCC such as better error messages and integration points for IDEs (syntax checking/etc) which caused Apple to switch to it (
by MBCook 11y ago
Clang had a number of benefits over GCC such as better error messages and integration points for IDEs (syntax checking/etc) which caused Apple to switch to it (on top of licensing). It may have been faster, not sure, but the internals were supposed to be MUCH cleaner and easier to work with.
I know a number of these issues have been improved/fixed in GCC over the last few years. Outside friendliness to internal tinkering and non-GPL software I'm not sure if one as serious technical superiority. I believe clang is written in C++ instead of C, for whatever that's worth.
GCC has always had a much bigger set of supported platforms and processors.
- MaulingMonkey 11y ago> not sure, but the internals were supposed to be MUCH cleaner and easier to work with. I've bookmarked this bit of GCC code for my own amusement - an anecdote about the quality of GCC's codebase: https://github.com/gcc-mirror/gcc/blob/7057506456ba18f080679b2fe55ec56ee90fd81c/gcc/reload.c#L1056-L1110 https://github.com/gcc-mirror/gcc/blob/7057506456ba18f080679...