Thursday Mar 24, 2011

C1X is coming

The C Programming Language Standard committee WG14 met in London last week to Resolve the Committee Draft (CD) Ballot Comments. These are the National Body comments on the CD of the third edition of the C Programming Language Standard known as C1X.

So what's new in C1X over C99?

  • conditional (optional) features (including some that were previously mandatory)
  • support for multiple threads of execution including an improved memory sequencing model, atomic objects, and thread-local storage (<stdatomic.h> and <threads.h>)
  • additional floating-point characteristic macros (<float.h>)
  • querying and specifying alignment of objects (<stdalign.h>, <stdlib.h>)
  • Unicode characters and strings (<uchar.h>) (originally specified in ISO/IEC TR 19769:2004)
  • type-generic expressions
  • static assertions
  • anonymous structures and unions
  • no-return functions
  • macros to create complex numbers (<complex.h>)
  • support for opening files for exclusive access
  • removed the gets function (<stdio.h>)
  • added the aligned_alloc, at_quick_exit, and quick_exit functions (<stdlib.h>)
  • (conditional) support for bounds-checking interfaces (originally specified in ISO/IEC TR 24731−1:2007)
  • (conditional) support for analyzability
So when can we expect this new revision of the C Standard?

The next stage in the process of becoming a standard will be the production
of the Draft International Standard with a 5 month ballot for approval.
If all goes as well as WG14 expects, there will be a new C standard in 2012.
About

Douglas is a principal software engineer working as the C compiler project lead and the Oracle Solaris Studio technical lead.

Search

Archives
« March 2011 »
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
25
26
27
28
29
30
31
  
       
Today