Re: allocate memory statically
From: Chris Hills (chris_at_phaedsys.org)
Date: 02/12/05
- Next message: Chris Hills: "Re: Can I buy C99 with TC1 and TC2 already taken effect in it?"
- Previous message: infobahn: "Re: How to calculate size of an int without using the sizeof operator but using bitwise operator"
- In reply to: E. Robert Tisdale: "Re: allocate memory statically"
- Next in thread: CBFalconer: "Re: allocate memory statically"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sat, 12 Feb 2005 10:11:09 +0000
In article <cuisrh$mh1$1@nntp1.jpl.nasa.gov>, E. Robert Tisdale
<E.Robert.Tisdale@jpl.nasa.gov> writes
>
>C is a "dead-end" language.
C is the main language for embedded work and it's use is expanding
(there are a lot more embedded systems year on year)
>The only future for C programs and C programmers is C++.
Actually no. In fact C++ will have a shorter life span. There are other
languages that can and are replacing C++. However nothing is replacing C
in the expanding embedded market.
>This is why it is important for young C programmers
>to write C programs that are also valid C++ programs.
This is disastrous advice. C is no longer a subset of C++. If you learn
C in the way you suggest it will turn out poor C++ programmers. It
matters less for desktop use but most embedded work (where C is THE
language and there is often no C++ compiler) is high-integrity, safety
of mission critical. C should be taught and used as C not a cut down C++
>Old C programmers are too "set in their ways"
>to learn the new programming language.
Really? Any evidence of this?
>Some old C programmers sabotage their C programs
>by including code that is incompatible with C++.
C and C++ are different languages. C++ now has parts that are not
compatible with C. We discussed this on the ISO C panel. If you want C
and C++ compatibility then C++ will have to move closer to C.
>Their programs will die when they die (or retire).
This is silly. Embedded systems have 20+ years life-span. C just goes on
and on. BTW many of the most common MCU on the planet dont have C++
compilers.
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
\/\/\/\/\ Chris Hills Staffs England /\/\/\/\/\
/\/\/ chris@phaedsys.org www.phaedsys.org \/\/
\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
- Next message: Chris Hills: "Re: Can I buy C99 with TC1 and TC2 already taken effect in it?"
- Previous message: infobahn: "Re: How to calculate size of an int without using the sizeof operator but using bitwise operator"
- In reply to: E. Robert Tisdale: "Re: allocate memory statically"
- Next in thread: CBFalconer: "Re: allocate memory statically"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|