I have read some questions about GCC vs MSVC and the development of these compilers such as GCC worth using on Windows to replace MSVC?, Visual Studio or GCC? and GCC vs MS C++ compiler for maintaining API backwards binary compatibility. But those are very outdated questions(2011). With new c++14 features coming things are starting to balance between the two compilers. Is it still worth using Code::Blocks on Windows with all the advantages of using Microsoft Visual Studio such as:
- Native Windows libraries with support to using MFC, ATL, DirectX and other useful Microsoft libraries.
- Great debugging features, especially when using the disassembly view(it has so many useful features).
In most of the topics I have read, they always say GCC code generation was better than MSVC's, but the differences in that matter were starting to narrow. Is code generation still better in GCC? What about newest c++ features, which of them is ahead?
The biggest advantage I see in using GCC versus MSVC is that:
- It is open source, which makes custom compiler code possible.
- Easier to make portable code.
- IT IS FREE.
- ???Better code generation???
C++14 features on GCC: https://gcc.gnu.org/projects/cxx1y.html
C++11 and 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