Linked by Thom Holwerda on Tue 6th Mar 2018 20:08 UTC
Google

As of Chrome 64, Chrome for Windows is compiled with Clang. We now use Clang to build Chrome for all platforms it runs on: macOS, iOS, Linux, Chrome OS, Android, and Windows. Windows is the platform with the second most Chrome users after Android according to statcounter, which made this switch particularly exciting.

Thread beginning with comment 654335
To view parent comment, click here.
To read all comments associated with this story, please click here.
RE: slow decline of GCC ?
by kwan_e on Wed 7th Mar 2018 08:27 UTC in reply to "slow decline of GCC ?"
kwan_e
Member since:
2007-02-18

I wonder if it's the technical merit of llvm in general, or gpl3 that's turning people away from gcc nowadays.


It's more like the technical demerit of gcc. GCC is a cumbersome code base, and the move to develop in C++ was probably too late.

LLVM Clang is easier to develop for.

Reply Parent Score: 2

RE[2]: slow decline of GCC ?
by FlyingJester on Thu 8th Mar 2018 19:20 in reply to "RE: slow decline of GCC ?"
FlyingJester Member since:
2016-05-11

In the case of several systems such as OpenBSD, it is indeed the license, although a barrier to adoption is LLVM and Clang supporting many fewer targets, and not always being self-hosting.

In my own experience, current versions of LLVM+Clang and GCC take a similar amount of time to download and build (although CMake makes me want to build clang a lot less). The code output is very comparable as well. Sometimes Clang is better, sometimes GCC is better ( https://t.co/k3d4mN7EqE )

Edited 2018-03-08 19:22 UTC

Reply Parent Score: 4

RE[2]: slow decline of GCC ?
by Carewolf on Sun 11th Mar 2018 09:05 in reply to "RE: slow decline of GCC ?"
Carewolf Member since:
2005-09-08

"I wonder if it's the technical merit of llvm in general, or gpl3 that's turning people away from gcc nowadays.


It's more like the technical demerit of gcc. GCC is a cumbersome code base, and the move to develop in C++ was probably too late.

LLVM Clang is easier to develop for.
"
True. I have contributed patches to both and LLVM is by far the easiest code to read.

Yet somehow GCC still produces faster code, and after being challenged by Clang they now also compile faster.. So they must be doing something right.

Reply Parent Score: 2