-
Questions About C
hi all,
I just wanna know if C is really a "deprecated" language. It´s last one stardizations (ANSI) was publicated in 1999, is this correct? I´ve seen on ANSI site a standard named "Programming languages - C - Extensions to support embedded processors" isn´t this a reborn, or just an adjustment...?
Thank you.
-
Re: Questions About C
In short, no. C is not deprecated. Ask a kernel developer if they code in C++ and they might get testy. I work in non-reentrant C strictly for maximum performance.
-
Re: Questions About C
Not at all. There is a lot on C programming done for example in embedded development. All major operating systems are written in C. I would not call it at all deprecated.
-
Re: Questions About C
There are less and less reasons to use pure C. It's bloated with capabilities so that you can't just say that overhead is well justified because you use pure C. You may use C++ as well. In some cases it may be more simple to achieve better performance using C++, and you can evade overheads. As many compilers are really C/C++ compilers, porting of C compiler is nearly the same effort as porting C++ compiler, if you don't consider fine tuning. In fact decision not to go C++ may be based on fact that at particular moment particular concerned C++ compiler produced a bit less effective executable of C code then original C compiler - so why pay that loss or involve complications with intercompiler linking when just about everything is in C?
-
Re: Questions About C
C will probably not become deprecated in quite a while, and even after that there is still plenty of reason to learn it. Look at Cobol for a comparison. Cobol is truly a deprecated language in that noone in their right mind would create a completely new environment using it, but there is such a vast amount of old Cobol code that's still in use that the demand for Cobol programmers is still significant and will most likely remain so for quite some time.