C remains the darling of embedded programmers, but C++ garners a sizable chunk. Using C++ features judiciously can result in code that’s as efficient or more efficient than a comparable C application.
I recently presented arguments for and against using dynamic memory allocation in C and C++ programs. 1 I do agree that truly safety-critical systems should avoid using dynamic allocation because the ...
Unlock the full InfoQ experience by logging in! Stay updated with your favorite authors and topics, engage with content, and download exclusive resources. Vivek Yadav, an engineering manager from ...
Targeting the NEC 8-bit microcontroller, the IAR Embedded Workbench for 78K integrates C/C++ with advanced support like Embedded C++, which includes templates and the Standard Template Library (STL).