3 ms·
MSVC has had C++ support for a long time, to be fair. GCC was probably just as bad at first, it just improved more steadily over time. Today, GCC and Clang both
by jchw 9y ago
MSVC has had C++ support for a long time, to be fair. GCC was probably just as bad at first, it just improved more steadily over time. Today, GCC and Clang both seem like very robust C++ compilers, and it doesn't feel like MSVC is terribly far behind (it does feels like it is behind, in my perception, just not far.)
- pjmlp 9y agoVisual C++ has the best C++ among commercial C++ compilers. http://en.cppreference.com/w/cpp/compiler_support http://en.cppreference.com/w/cpp/compiler_support And the table lacks most embedded compilers.
- fyi1183 9y agoThat feels like one of these misleading marketing statements. The real competition are GCC and clang. But yes, embedded compilers are usually a nightmare.
- pjmlp 9y agoThey are the competition when one only cares about *BSD, GNU/Linux, Windows systems.
- jchw 9y agoWell, and Android and iOS and many microcontrollers (well, often a shitty GCC fork in that case but still) and way more platforms (OpenBSD, Minix, HP-UX, Solaris, VxWorks, bare metal) and architectures (Alpha, ARM, AVR, x86, m68k, microblaze, MIPS, PDP-11, Risc-V, SPARC, VMS) than that, not including third party ports in SDKs. Yeah, I get that with embedded, it's a crapshoot. However it's probably not ridiculous to say that GCC ports to microcontrollers is not terribly uncommon, either. GCC and Clang certainly are a lot more useful than for just that tiny range you listed. The reality is they probably cover more platforms than any other individual compiler.
- pjmlp 9y agoWhen I was involved in mainframe or commercial UNIX projects we always used the OS vendor SDK, hence why I left them out of my list.