visual c++ - C++ - Is it worth using GCC over MSVC on Windows? -


i have read questions gcc vs msvc , development of these compilers such gcc worth using on windows replace msvc?, visual studio or gcc? , gcc vs ms c++ compiler maintaining api backwards binary compatibility. outdated questions(2011). new c++14 features coming things starting balance between 2 compilers. still worth using code::blocks on windows advantages of using microsoft visual studio such as:

  • native windows libraries support using mfc, atl, directx , other useful microsoft libraries.
  • great debugging features, when using disassembly view(it has many useful features).

in of topics have read, gcc code generation better msvc's, differences in matter starting narrow. is code generation still better in gcc? newest c++ features, of them ahead?

the biggest advantage see in using gcc versus msvc that:

  • it open source, makes custom compiler code possible.
  • easier make portable code.
  • it free.
  • ???better code generation???

c++14 features on gcc: https://gcc.gnu.org/projects/cxx1y.html

c++11 , c++14 features on msvc rtm: http://blogs.msdn.com/b/vcblog/archive/2015/06/19/c-11-14-17-features-in-vs-2015-rtm.aspx

yes.

although msvc has made some progress toward newer c++ standards, still woefully behind, on c++98 status (which conveniently excluded status page).

from i've read recently, msvc team not have concrete plan fixing of old issues, e.g. name lookup , template instantiation.

now, when can use msvc clang compiler, might reason stop using gcc. however, purposes, find clang has inferior diagnostics (and inferior code) still use gcc primary compiler , use clang backup.

and @cheersandhth says, it's use 2 compilers. though maybe @ intel's compiler.


Comments