www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - C1X features

reply bearophile <bearophileHUGS lycos.com> writes:
[Sorry double posted in a wrong place.]
Some proposed changes in the next C standard, named C1X, things possibly
interesting for D design too:
http://en.wikipedia.org/wiki/C1X

The gets() function will be replaced by a safer gets_s(). The alloca() was
essentially replaced by Variable Length Arrays in C99.


Something about _Alignas, alignof , aligned_alloc , <stdalign.h>:
http://www.open-std.org/jtc1/sc22/wg14/www/docs/n1447.htm
As I have explained here D will need a better management of alignments:
http://www.digitalmars.com/webnews/newsgroups.php?art_group=digitalmars.D&article_id=114070


Something about _Atomic and <stdatomic.h>:
http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2005/n1875.html


This is related, purposes for 128 bit types:


Bye,
bearophile
Aug 08 2010
parent "Nick Sabalausky" <a a.a> writes:
"bearophile" <bearophileHUGS lycos.com> wrote in message 
news:i3mhb9$1vov$1 digitalmars.com...
 [Sorry double posted in a wrong place.]
 Some proposed changes in the next C standard, named C1X, things possibly 
 interesting for D design too:
 http://en.wikipedia.org/wiki/C1X

 The gets() function will be replaced by a safer gets_s().
Heh, figures the "better"/"safer" version would end up with a funkier name.
Aug 08 2010