Search results
Nov 7, 2011 · MSVC has the huge advantage of coming with an IDE that has no equals under Windows, including debugger support. The probably best alternative for MinGW would be Code::Blocks, but there are worlds in between, especially regarding code completion and the debugger.
I do all of my development from Visual Studio using CMake. I can compile using MSVC from windows, gcc10/gcc9 from WSL or clang (can't remember the version) from the FreeBSD box. As of VS 2019 version 16.8 (10NOV20), MSVC is C11/C17 compliant.
I would recommend using Visual Studio if you are building something specifically for Windows (ie, you are making a GUI application or you will be using the Windows APIs). If you want to build a crossplatform console application, then I would recommend using MinGW.
MSVC is doing the compilation job significantly faster than MinGW-w64. The DLL sizes are comparable, if optimization is set to "-O2" for MinGW-w64, with "-O3" the DLLs from MinGW-w64 are larger. Binary files compiled with MinGW-w64 are performing significantly better than those compiled with MSVC.
Apr 22, 2016 · MSVC is doing the compilation job significantly faster than MinGW-w64. The DLL sizes are comparable, if optimization is set to "-O2" for MinGW-w64, with "-O3" the DLLs from MinGW-w64 are larger. Binary files compiled with MinGW-w64 are performing significantly better than those compiled with MSVC.
Oct 18, 2022 · Do the only reason you consider mingw is because it's large? Well if you plan on developing for Windows I'd suggest going with msvc. If you don't want the installation to be too big I guess you can get away with just installing the: compiler, 1 win sdk version and the MSBuild tools.
People also ask
Is MSVC better than MinGW-w64?
Is OCCT better than MinGW-w64?
Is MinGW better than GCC?
Is Cygwin better than MinGW?
Does MinGW-w64 support thread?
Should I use GCC (MinGW) or MSYS2?
Jul 27, 2024 · I'm making a 64bit based application for my small commercial, but it's better to use MinGW64 or MSVC2019 64 bit, what are the advantages and disadvantages of these two? I'm using dynamic not static applications. When I use MSVC on several laptops/computers, it requires vc_redistx64.