4 ms·
They do mention: > With the switch to clang, binary size dropped about 8% while performance mostly stayed the same. Startup time improved a bit, Also I can im
by CJefferson 12y ago
They do mention:
> 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.
- moyix 12y agoOn the other hand, clang is very much a second class citizen on Windows.
- CJefferson 12y agoTrue, but is gcc much better, or does chrome use visual studio? (I honestly don't know, wondered if anyone else did)
- Joky 12y agoYes.
- experimental- 12y agoSo is GCC. Perhaps it's still one less compiler to deal with, if they don't need GCC on any platform any more.
- zanny 12y agoEvery compiler that is not (and some may even consider it second class considering its UX) MSVC is a second class citizen on Windows.
- 0x09 12y agoI 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?
- cremno 12y agoThey have a site covering compatibility with MSVC: http://clang.llvm.org/docs/MSVCCompatibility.html 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.
- DannyBee 12y ago???? Compared to GCC? You can now build a fairly well-functioning chrome binary, from visual studio, with clang/llvm, without source code changes.