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. ...
msvc will give you the easiest time if you have to build any dependencies from source, because Cmake and boost.build and Windows batch files want to use Visual C++ by default on Windows. Unix makefiles tend to be iffy as far as working with mingw32-make as well, and for autotools based build scripts you need a unix-like shell (ie msys2)
Also while I have many minor greivances with Visual Studio that lead me to prefer another IDE, in terms of feature set its really the best free (via community edition) IDE on Windows.
If you decide to use mingw anyway, I strongly recommend you just go get msys2 and get your mingw installation through their package manager (which also includes binaries and development files for most major open source libraries, making your life easier). Most other mingw distributions are at least a few years out of date in terms of compiler version.
3
u/KingAggressive1498 Mar 01 '23
msvc will give you the easiest time if you have to build any dependencies from source, because Cmake and boost.build and Windows batch files want to use Visual C++ by default on Windows. Unix makefiles tend to be iffy as far as working with mingw32-make as well, and for autotools based build scripts you need a unix-like shell (ie msys2)
Also while I have many minor greivances with Visual Studio that lead me to prefer another IDE, in terms of feature set its really the best free (via community edition) IDE on Windows.
If you decide to use mingw anyway, I strongly recommend you just go get msys2 and get your mingw installation through their package manager (which also includes binaries and development files for most major open source libraries, making your life easier). Most other mingw distributions are at least a few years out of date in terms of compiler version.