by shadowmint · 11y ago · 0 comments
It's state of the art, all the tooling already exists, and its under a very permission license (http://clang.llvm.org/features.html#license).
You don't need to rewrite all of these tools.
/me shakes head.
Now, I know that's quibbling, but this really isn't: What do you think is less work and less risk for Microsoft: throwing enough resources at MVCC to make it better, or throwing enough resources at Clang to make it so that Windows and Office compile on it without introducing regressions?
Does the officially released version support OpenMP by now? A few weeks ago at least I still failed at installing that properly from official sources. There seems to be an OpenMP-in-clang project going on, but it was far from obvious what had to go where. So about this “state of the art”…
MSVC still only supports OpenMP 2.0.
The code works correctly when compiled with GCC so that can't be an issue. I am launching OpenMP threads from a Windows thread (not the main one) so maybe that's the issue (MinGW packages had problems with it forever and it's pretty tough to find one without this bug present).
./clang++ --version
clang version 3.8.0 (trunk 246030)
Target: x86_64-unknown-linux-gnu
Thread model: posix
does not support OpenMP to my knowledge.I agree that competition is good, I'd much rather prefer compilers competing on the speed, quality of their optimization, static analysis, supported platforms - something that does not give me much of a headache.
Having said that, I acknowledge that MS compiler team made great progress in the recent year catching up on C++ standards, compatibility, and compilation speed.
That is what happens to any technology based on standards instead of gold implementation.
Lets have one OS, one browser, one compiler, ....
>>the speed, quality of their optimization, static analysis, supported platforms
if the C++ committee wasn't that "prolific" about adding yet new ways to do the same thing to the language. It sucks a lot of resources to implement that monstrosity and every 3 years or so there is a new set of toys to play with.