Hacker News new | ask | show | jobs
by pjmlp 4170 days ago
> I suppose I could see the "most up to date" argument, but Intel looks like it has the most complete commercial compiler at the moment for C++11.

Except that some of the features are only available on UNIX based OS. So you cannot use them if you are after portable code.

If an ANSI C++ feature is currently OS specific on a multi-platform compiler, on my manual it isn't supported.

> But certainly, the next most complete support for C++11 in a commercial compiler might just be from Oracle Solaris Studio

Interesting. I wasn't aware of it.

The last time I spend coding on Solaris was around 2011.

> Notably, Oracle Solaris Studio is also one of the few compilers to include full C99 support.

Even as C++ fanboy, I do concede it is to be expected that a UNIX vendor does support the latest C standards.

After all, it is because of UNIX that we got C and I don't see it being re-written into something else.

There I would like that at least they support "Bounds-checking interfaces (Annex K)" from C11, which is optional.

1 comments

  There I would like that at least they support
  "Bounds-checking interfaces (Annex K)" from C11,
  which is optional.
The bounds-checking interfaces are really something that has to be provided by libc, so Solaris itself will provide those.

Although it isn't highlighted in the release notes in an obvious way, most of the support for C11 is also available in the 12.4 release of the Solaris Studio compiler. The primary things missing are the same things they don't have for C++11: concurrency and atomic primitives.