Embedded C++

From Seo Wiki - Search Engine Optimization and Programming Languages
Jump to navigationJump to search

Embedded C++ (EC++) is a dialect of the C++ programming language for embedded systems. It was defined by an industry group led by major Japanese CPU manufacturers, including NEC, Hitachi, Fujitsu, and Toshiba, to address the shortcomings of C++ for embedded applications. The goal of the effort is[citation needed] to preserve the most useful object-oriented features of the C++ language yet minimize code size while maximizing execution efficiency and making compiler construction simpler. The official web site states the goal as "to provide embedded systems programmers with a subset of C++ that is easy for the average C programmer to understand and use"[1].

Differences from C++

Embedded C++ is a proper subset of C++. The following language features have been removed:

Compilation

An EC++ program can be compiled with any C++ compiler.

However a compiler specific to EC++ may have an easier time doing optimization.

Compilers specific to EC++ are provided by companies such as:

Criticism

The language has not had a good reception with many expert C++ programmers. In particular, Bjarne Stroustrup says, "To the best of my knowledge EC++ is dead (2004), and if it isn't it ought to be."[4] In fact, the official website has not been updated since 2002.

The stated reason for removing language features like templates and namespaces (and by extension major parts of the C++ standard library) is "too new to be used widely"[1]. Those features were new in the late 1990s, but are widely used and relied upon in C++ code today.

A criticism is that EC++ is intended for use with 32-bit architecture instead of focusing on the big market of 8/16-bit microcontrollers.[5]

References

  1. 1.0 1.1 EC++ Questions and Answers
  2. [{{Expansion depth limit exceeded||}} "Embedded C++ compiler technology"]. [{{Expansion depth limit exceeded|{{{Expansion depth limit exceeded}}} |{{Expansion depth limit exceeded|{{Expansion depth limit exceeded| http://www.pubmedcentral.nih.gov/articlerender.fcgi?tool=pmcentrez&artid={{{Expansion depth limit exceeded}}} }}}} }} Tasking corporate web site]. {{Expansion depth limit exceeded||}}. 
  3. [{{Expansion depth limit exceeded||}} "Green Hills Optimizing C/C++/EC++ Compilers"]. [{{Expansion depth limit exceeded|{{{Expansion depth limit exceeded}}} |{{Expansion depth limit exceeded|{{Expansion depth limit exceeded| http://www.pubmedcentral.nih.gov/articlerender.fcgi?tool=pmcentrez&artid={{{Expansion depth limit exceeded}}} }}}} }} Green Hills Software corporate web site]. {{Expansion depth limit exceeded||}}. 
  4. [{{Expansion depth limit exceeded||}} "What do you think of EC++?"]. [{{Expansion depth limit exceeded|{{{Expansion depth limit exceeded}}} |{{Expansion depth limit exceeded|{{Expansion depth limit exceeded| http://www.pubmedcentral.nih.gov/articlerender.fcgi?tool=pmcentrez&artid={{{Expansion depth limit exceeded}}} }}}} }} Bjarne Stroustrup's FAQ]. {{Expansion depth limit exceeded||}}. 
  5. Jack Ganssle (1997-01-06). [{{Expansion depth limit exceeded|{{{Expansion depth limit exceeded}}} |{{Expansion depth limit exceeded|{{Expansion depth limit exceeded| http://www.pubmedcentral.nih.gov/articlerender.fcgi?tool=pmcentrez&artid={{{Expansion depth limit exceeded}}} }} }} }} "EC++"]. The Embedded Muse 13: 1–2. http://www.ganssle.com/tem/tem13.pdf. 

External links

de:Embedded C++ ja:Embedded C++ pt:Embedded C++ zh:Embedded C++

If you like SEOmastering Site, you can support it by - BTC: bc1qppjcl3c2cyjazy6lepmrv3fh6ke9mxs7zpfky0 , TRC20 and more...