View Single Post
  #4 (permalink)  
Old 07-10-2012, 09:33 PM
Jens Gustedt
Guest
 
Posts: n/a
Default Re: Are any compiler vendors attempting to produce a C11 compiler?

Am 10.07.2012 22:52, schrieb Dann Corbit:
> Since C99 support was spotty at best, with even the biggest compiler
> vendors putting very little effort into such a thing, I wonder if C11 is
> a paper-only, hypothetical standard or are there actual compiler vendors
> interested in making a functional C11 compiler.
>


It looks that gcc and clang are actively moving towards implementing it.
In contrast to C99 some parts of the old and new standard are now
optional, so this will ease the transition for some compilers.

Clang is actually already quite advanced in its C11 support, all direct
language level features seems to be implemented, in particular _Generic
and _Atomic.

But as always with these things the required library support is more
involved, so complete probably still will lack for a certain time. Some
things are relatively "easy": support for atomics is already there in
extensions with a different syntax, and implementing C11 threads on top
of POSIX threads is not very difficult either, a good exercise for an
experienced programmer.

Jens
Reply With Quote