Embedded C ++

from Wikipedia, the free encyclopedia

Embedded C ++ ( EC ++ , ECPP ) is a programming language derived from C ++ with a limited range of functions compared to C ++. Embedded C ++ was developed by an industrial consortium of various Japanese chip manufacturers, including NEC, Hitachi, Fujitsu, and Toshiba for embedded systems with low resources such as B. Developed program and working memory. The declared goal was to create a programming language that supports the most important language elements introduced for object-oriented programming in C ++, but with a smaller code size, higher efficiency and easier creation of compilers for embedded microcontrollers should enable.

Missing properties

The first specification for Embedded C ++ was published in 1996, the current revision 3 was published in 1999. Embedded C ++ is defined as a subset of C ++, whereby the following properties of C ++ have been omitted:

criticism

The language was particularly rejected by experienced C ++ programmers, the most famous critic is the C ++ inventor Bjarne Stroustrup . Stroustrup mainly criticizes the loss of typical C ++ properties and the lack of support for the C ++ standard library by EC ++. Furthermore, Stroustrup warns of a division of the community around C ++. As an alternative, Stroustrup mentions the use of coding standards for C ++ and the recommendations made by the ISO C ++ Committee to create efficient C ++ code for embedded systems.

Another point of criticism is that Embedded C ++ is designed for use on 32-bit processors instead of concentrating on the large market for low-resource 8/16 bit processors.

The embedded C ++ standard is only supported by a few compilers.

swell

  1. Stroustrup: FAQ - What do you think of EC ++?
  2. JSF air vehicle C ++ coding standards
  3. ^ Technical Report on C ++ Performance

Web links