3 ms·
Is there any problem with MinGW ? From my very limited experience gcc is just a better compiler than MSVC: it generates faster code, has more options to configu
by bluecalm 12y ago
Is there any problem with MinGW ?
From my very limited experience gcc is just a better compiler than MSVC: it generates faster code, has more options to configure it (more optimization options, more options for displaying warnings, all the new floating point stuff available, actually supports new standards and let you choose which language version you want etc.).
- aktau 12y agoNo, I like both gcc and clang, and thus mingw. Still, we would like to be portable to as many modern, often-used compilers as we can. Also anecdotally, I wrote a software renderer a few months ago that ran almost 50% faster when compiled with MSVC 2013 than with MingW 64 (gcc 4.8), all optimizations enabled. This might not be true for other types of programs though.
- stinos 12y agoit generates faster code Not sure if that is true in general - the few proper benchmarks I found indicate that there is no clear winner. (Except for the Intel compiler, which beats both)
- bluecalm 12y agoRight. I am speaking from experience with relatively simple number crunching code. It became faster once I upgraded to newer version of gcc. Now even very simple things (like say 8 queens) are just 5-10% faster when compiling with GCC 4.8 comparing to MSVC.
- maxlybbert 12y agoGCC certainly releases more often than Visual Studio, with the end result being that GCC has support for newer standards much sooner than Visual Studio. But if you intend to run your programs on Windows systems without GCC installed, you have to find the support DLL, and it's not always easy to find.