News for hackers. Stuff that matters.
Re:The Sorry State of C++ Portability by pjmlp on Wednesday October 24, 2012 @04:24PM (#4694884)
It will also fail to compile with the latest C++ compilers from IBM, HP and Oracle. I don't see anyone complaining about them.

Or their lack of C99 and C11 support for that matter.

Re:The Sorry State of C++ Portability by X-Istence on Wednesday October 24, 2012 @06:13PM (#4695308)
Let's look at the platforms currently in heavy use:

  1. Windows
  2. Mac OS X
  3. Linux
  4. Some form of BSD
  5. Oracle Solaris/HP-UX/IBM AIX
Compiling for the top three platforms solves 99.999% of my problems, especially if my code is meant to be used on the desktop. For the windows platform's primary compiler to not have support for standard C++11 features is definitely a deficiency.
Re:The Sorry State of C++ Portability by pjmlp on Thursday October 25, 2012 @02:36AM (#4696632)
You have Intel C++, Portland Group C++, C++ Builder, MinGW at your disposal besides Microsoft, just pick another vendor.

Vote with your pocket.

Re:The Sorry State of C++ Portability by fafner on Wednesday October 24, 2012 @05:16PM (#4695090)
> It will also fail to compile with the latest C++ compilers from IBM, HP and Oracle. I don't see anyone complaining about them.

Because GCC is easily available on those systems. Well and the fact that those systems are far from being mainstream and come with a bunch of their own issues.

Re:The Sorry State of C++ Portability by pjmlp on Thursday October 25, 2012 @02:37AM (#4696633)
In the Fortune 500 world I work on, those systems are pretty mainstream.

There are even AS/400 and VMS systems to play with.

Re:The Sorry State of C++ Portability by fafner on Thursday October 25, 2012 @07:58AM (#4697248)
But that world is too small and conservative in regard of language adoption.
Re:The Sorry State of C++ Portability by pjmlp on Thursday October 25, 2012 @08:23AM (#4697315)
Sure, but that is the world compiler vendors mostly listen to.
Re:The Sorry State of C++ Portability by fafner on Thursday October 25, 2012 @01:08PM (#4698409)
HP, IBM, and Oracle?

btw. the IBM XL C++'s support for C++11 seems to be as good as the one in VC++ 2012. They don't have lambdas but variadic templates instead.

Re:The Sorry State of C++ Portability by pjmlp on Thursday October 25, 2012 @05:27PM (#4699654)
I mean most compiler vendors only care about big companies nowadays, since most startups don't want to pay for development tools.

No standards driven language gets fully support at the same time across all vendors.

Re:The Sorry State of C++ Portability by kelnos on Thursday November 01, 2012 @09:16PM (#4730752)
Thing is, though, I think it's fairly safe to say that the main compiler "vendors" are Microsoft, GCC, and Apple to some extent. The vast majority of software is produced either using Visual Studio, gcc, or Apple's version of gcc, or clang.

Visual Studio is (sadly) the gold standard on Windows. It may not be free, but companies (including startups) will pay for it if they need it. GCC is of course free, as is clang. You'd be foolish to pay for a toolchain unless you have very specific needs. So what other compiler vendors that make money off their toolchains are actually relevant for all but niche uses? I'd guess that their aren't any, but I can't claim to have comprehensive knowledge of everyone's toolchain needs.