In embedded systems, software should be
1. very small
2. very fast
3. take very less working memory.
At this moment C and C++ are the most used languages, sometimes some parts of the software are written in assembly.
When looking at speed and memory-use I don't think that C and C++ differ a lot. So the main think to look at is size.
Today I was discussing the performances of C and C++ with some collegues. One collegue told me that it is possible to write C++ code which results in smaller binaries than C. Though I allways thought that C++ would result in large binaries.
What language would you use when it comes to size?