New ISO C standard - C11
New ISO C standard - C11
Written by Mike James   
Friday, 30 December 2011

The ISO has just published the latest C language standard known previously as C1X and now that it has been published as C11. This is not to be confused with C++11, which is the recent upgrade to the C++ language.

The new standard replaces C99, but many of the new features are optional, making it easier for compilers to claim compliance. This seems like a very strange idea that will result in programmers not being able to rely on compliant compilers implementing some of the more attractive features of the new standard.

 

C11logo

 

Non-optional features include alignment for data structures, type generic expressions for macros, multithreading, better unicode support, anonymous structures and unions and a few more improvements.

Some of the more interesting optional facilities include complex numeric types, variable length arrays, bounds checking and atomic primitives.

One issue that seems to be annoying the C community is the high price set for the PDF download of the new standard. The ISO is funded by many governments and makes use of the freely-given time of many government funded academics, yet it still feels that it has the right to charge around $300 for a PDF download. It is worth noting that the draft standard can still be read for free.

It is also worth commenting that most of the "new" features have been supported by the commonly used C compilers for some time. For example, GCC 4.6 has experimental support for some of the new features. 

 

C11logo

More Information

ISO/IEC 9899:2011

The draft standard

C++0x approved

 

 

To be informed about new articles on I Programmer, subscribe to the RSS feed, follow us on Google+, Twitter, Linkedin or Facebook or sign up for our weekly newsletter.


Banner


Salesforce Launches AI Einstein
21/09/2016

Saleforce has shown off a wrapper for its CRM products that uses AI and machine learning to improve recommendations, choosing to unveil it and other innovations this week, rather than waiting for the  [ ... ]



IoT Developers Gaining In Experience
30/08/2016

Vision Mobile's latest State of the Developer Nation Report notes a new phase in the IoT market and the maturity of the developers who are engaged in it.


More News

Last Updated ( Friday, 30 December 2011 )
 
 

   
Banner
Banner
RSS feed of news items only
I Programmer News
Copyright © 2016 i-programmer.info. All Rights Reserved.
Joomla! is Free Software released under the GNU/GPL License.