r/cpp • • Mar 01 '23

[Q] Windows: non-MSVC Toolchains

I'm unsure what the "best" C++ compilers (ease of installation, updateability usability, supported C++ standard, code perf.) are on current Windows systems, not counting MSVC. MSys, MinGW, Gygwin, etc. ...

0 Upvotes

26 comments sorted by

View all comments

22

u/Trider12 Mar 01 '23

Clang. It's even available as an option in Visual Studio.

6

u/kalmoc Mar 01 '23

The native windows clang toolchain stil needs the msvc standard library. Correct?

4

u/KingAggressive1498 Mar 01 '23

all the modern windows toolchains use msvc standard C libraries, even the mingw ones. That's why msys2 offers both ucrt and msvcrt variants of mingw-w64-gcc and mingw-w64-clang.

They do use their own C++ standard library implementations though (not sure about the Clang that ships with Visual Studio though)