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.

Permalink for comment 654339
To read all comments associated with this story, please click here.
RE[2]: slow decline of GCC ?
by kwan_e on Wed 7th Mar 2018 09:49 UTC in reply to "RE: slow decline of GCC ?"
kwan_e
Member since:
2007-02-18

For my relatively simple projects, clang would produce code that's about 10%-15% smaller than gcc.


After -O2 or -Os, I find they're both about the same. Clang is a much faster compiler, hands down. My understanding is that GCC can be overly aggressive in optimization so may end up generating code that isn't the best for relatively simple projects.

Reply Parent Score: 4