long-life of legacy standard
It is always amazing to see how long it takes for a legacy standard to be retired completely(or how long it takes for a new standard to be well accepted). For example, C programming language, it is now year 2005, the latest ISO C standard is C99, however, take a look at C projects out there, we are still trying to stick with C89/C90 standard as much as possible.
The obvious is the C++ style of inline comments with //, many projects I know of(include JXTA-C I am working on a lot) bans it. The reason: we want to stay with C90 as much as possible to avoid hassle when porting.
Is this a real concern? Or we just worry too much? I don't have enough experience in embedded system, but on any decent platform with a decent C/C++ compiler, I assume many of the common features of C++98 and C99 would be available. Oh, check out the Status of C99 features in GCC.
Another concern, perhaps, is the incompatibilities between C and C++. I am not sure how many conflicts are introduced in C99, but the incompatibility also exist in C90 for sure.
Anyway, I like C++ more than C, but unfortunately the ABI of C++ was not stable so that you don't really have much choice when you are implementing a library and expect to have many different language bindings. Hopefully the new C++98 can turn around the situation, but when will the C++98 standard be widely adapted? *Sigh*.
Posted by Mike Duigou on April 27, 2005 at 11:55 AM PDT #