Embedded C

Embedded C ( EC , ECPP ) is a programming language derived from C with a C compared with limited functionality. Embedded C for embedded systems with limited resources program and developed by an industry consortium of Japanese chip makers, including NEC, Hitachi, Fujitsu, and Toshiba such as memory. The stated aim was to create a programming language which supports the most important introduced to object-oriented programming in C language features, but this smaller code size, to enable greater efficiency and easier creation of compilers for embedded microcontrollers.

Missing Features

The first specification to embedded C was released in 1996, the current revision 3 was released in 1999. Embedded C is defined as a subset of C , which has been omitted in the following features of C :

  • Multiple Inheritance
  • Virtual Base Classes
  • Type checking at run time
  • The typecast constructs ( static_cast, dynamic_cast, reinterpret_cast, and const_cast )
  • The specifier mutable
  • Namespaces
  • Exceptions (exceptions)
  • Generic programming (templates)

Criticism

The language was particularly opposed by experienced C programmers, the most famous critics of the C inventor Bjarne Stroustrup. Stroustrup criticizes especially the loss of the C standard features or the lack of support the C Standard Library by EC . Furthermore warns Stroustrup before a split between the Community to C . As an alternative Stroustrup mentions the use of coding standards for C and the recommendations by the ISO C Committee to create efficient C code for embedded systems.

Another point of criticism is that Embedded C for use on 32 -bit processors is designed instead to focus on the large market for resource-poor 8/16-Bit-Prozessoren.

The Embedded C standard is supported by only a few compilers.

Swell

306313
de