Embedded C ++
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:
- Multiple inheritance
- Virtual base classes
- Type checking at runtime
- The cast constructs ( static_cast , dynamic_cast , reinterpret_cast and const_cast )
- The mutable
- Namespaces
- Exceptions (exceptions)
- generic programming (templates)
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
- ↑ Stroustrup: FAQ - What do you think of EC ++?
- ↑ JSF air vehicle C ++ coding standards
- ^ Technical Report on C ++ Performance
Web links
- official Embedded C ++ Homepage
- PJ Plauger : Embedded C ++: An Overview in: Embedded Systems Programming , December 1997