Re:Chrome now uses clang for production builds on Linux
by moyix on Monday November 17, 2014 @02:04PM
(#8619816)
On the other hand, clang is very much a second class citizen on Windows.
Re:Chrome now uses clang for production builds on Linux
by zanny on Monday November 17, 2014 @02:16PM
(#8619883)
Every compiler that is not (and some may even consider it second class considering its UX) MSVC is a second class citizen on Windows.
Re:Chrome now uses clang for production builds on Linux
by CJefferson on Monday November 17, 2014 @02:16PM
(#8619881)
True, but is gcc much better, or does chrome use visual studio? (I honestly don't know, wondered if anyone else did)
Re:Chrome now uses clang for production builds on Linux
by Joky on Monday November 17, 2014 @02:29PM
(#8619948)
Yes.
Re:Chrome now uses clang for production builds on Linux
by 0x09 on Monday November 17, 2014 @03:27PM
(#8620317)
I don't use the MSVC toolchain or Windows for that matter, so I don't have a good compass for this, but the impression from the newsletter, dev meetings etc is that clang-cl is constantly being improved. Is the situation still that poor?
Re:Chrome now uses clang for production builds on Linux
by cremno on Monday November 17, 2014 @03:59PM
(#8620528)
They have a site covering compatibility with MSVC: http://clang.llvm.org/docs/MSVCCompatibility.html
I think it's pretty acceptable, if you're writing C. As you can see, C++ support is only partially completed (no exceptions!). But you're right, Clang on Windows gets constantly improved.
The creation of good debugging information (MSVC's /Zi or even /ZI option) is also missing. For a first class citizen, support of the (undocumented) PDB format is a requirement in my opinion.
Re:Chrome now uses clang for production builds on Linux
by experimental- on Monday November 17, 2014 @02:16PM
(#8619882)
So is GCC. Perhaps it's still one less compiler to deal with, if they don't need GCC on any platform any more.
> With the switch to clang, binary size dropped about 8% while performance mostly stayed the same. Startup time improved a bit,
Also I can imagine it might be nice to use the same compiler on different OSes, and gcc is very much a 2nd class citizen on mac.