ISO Updates C Standard 378
An anonymous reader writes "The International Organization for Standardization (ISO) has published the new specifications for the C programming language. The standard is known unofficially as C1X and was published officially as ISO/IEC 9899:2011. It provides greater compatibility with the C++ language and adds new features to C (as indicated in the draft)."
First post!! (Score:5, Insightful)
Actually, who cares about that?
Seriously, though, am I the only one who finds it strange that one has to buy copies of the standard?
Re:First post!! (Score:5, Insightful)
move on (Score:5, Insightful)
Many of us gave up waiting on Microsoft for our development tools.
Re:Let's get C99 right first (Score:4, Insightful)
COBOL is king, always will be.
Solid and reliable code that works period!
Re:First post!! (Score:5, Insightful)
Not really, a lot of books cost money. Why would this one be different?
First of all, it's not a book. It's a PDF. Second of all, the Netherlands is a member body of ISO, so I have already paid for it through my taxes. I should be able to use the fruits of ISO without additional cost (or maybe some nominal fee). Third of all, an ISO standard has the status of a law: you'd better do it this way, or else. So they're telling me the law has changed, and then charging me 300 euros to find out precisely what the new law is. I believe that's called extortion.
Comment removed (Score:4, Insightful)
Re:Let's get C99 right first (Score:5, Insightful)
Re:Let's get C99 right first (Score:4, Insightful)
If your program relies on the presence of GCC extensions, you did it wrong in the first place.
Comment removed (Score:5, Insightful)
Re:Poul-Henning's take on this. (Score:5, Insightful)
His complaint about _Noreturn and similar keywords is silly. First, they were there 12 years ago already, in C99 - _Bool, _Complex etc. The reason for this scheme is that if they just made noreturn a keyword, existing valid C programs that use it as identifier would become illegal. On the other hand, underscore followed by capital letter was always reserved for implementations, so no conforming program can use it already. And then you can opt into more traditionally looking keywords, implemented via #define to the underscore versions, by explicitly including the appropriate header.
Re:First post!! (Score:5, Insightful)
WTF is "ISO C"? (Score:3, Insightful)
I spent my early years programming K&R C on Unix systems.
When the ANSI standards were ratified, ANSI took over.
But WTF is "ISO C"? With a core language whose goal is portability and efficiency, why would I want the language trying to can platform-specific implementations like threading? C is not a general purpose language -- it's power comes from tying to the kernels and platform libraries of the industry at the lowest levels possible to maximize performance.
If you don't need that maximum performance, you use C++ or another high-level language.
ANSI C is the assembler of the modern computing age, not a general purpose programming language.
Now get off my lawn!