Clang on windows is not well optimized tbh. There are a lot of tricks to make it go faster - but I wish it could be faster out of the box in the future.
How is running on Windows killing its performance? It is a load of compute sandwiched between some basic file IO. And it is a compiler so I would assume it is self hosting and generating basically the same code...
There's a lot of workarounds LLVM has to do to support windows.
the biggest one is they don't use shared libraries on windows, and i'm not entirely sure why either, everything has to be compiled as static libraries and linked into massive binaries tho.
11
u/---sms--- May 10 '20
Totally not my experience with Clang.
Clang is almost 2 times slower than MSVC when I write no C++ code at all:
When I do, it can easily be 20x slower.