Re: C / C++ skills



mc wrote:
When people use C++ on embedded systems, do they use its full power, or do
they just use it as a minor extension of C?

Both. "Embedded systems" covers a huge range of applications.
Some use the full range of C++ features, while others just use
C++ as a "better C". I tend to the latter, since I like
namespace, encapsulation of data and functions into a class,
clearing variables before their first use, etc. But others
have to do more rapid prototyping to keep up with changing
sets of ill defined requirements on a tight deadline, so all
available tools get used.

running away from it toward better-designed languages such as Java and C#.

Surely you just mean "Java" (which was well designed and then
hijacked for a different purpose than its designers intended).

C# was designed solely because Microsoft needed a new way to
entrap programmers since they weren't allowed to make
incompatible versions of Java.

Admittedly, Java and C# normally require some infrastructure (JVM and .NET
Framework respectively) that are not present on embedded systems.

Java runs on mobile phones, which definately counts as an
embedded system.

--
Darin Johnson

.



Relevant Pages

  • Re: These are identical, right? char const* and const char*
    ... > embedded systems and many of the systems it runs on don't have things like ... Java was originally an embedded systems programming language, ... > aware that the omission of many things from the standard is inconvenient ...
    (comp.lang.cpp)
  • Re: These are identical, right? char const* and const char*
    ... > Java was originally an embedded systems programming language, ... You gain working directly with the platform API in your code and thus fully ... Windows and these are instantly available to Windows C++ programmers. ...
    (comp.lang.cpp)
  • Re: Value of C-C++ over Java in the general cases
    ... > other languages. ... majority of software written is for embedded systems. ... memory than Java if that is a limiting factor for the target platform. ... fact there are still many hardware components that cannot support C++ ...
    (alt.comp.lang.learn.c-cpp)
  • Re: comparing java & c#
    ... Not all Java applications can be entirely AOT compiled. ... real-time embedded systems don't tend to care. ... ROM used to be much slower than RAM last time I checked. ...
    (comp.lang.java.help)
  • Re: comparing java & c#
    ... really want to compile ahead of time and there are things that are inefficient about Java for that space. ... embedded systems. ... JET seems to manager it. ...
    (comp.lang.java.help)