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 ...
Hardware abstraction layers (HALs) are an important layer to every embedded software application. A HAL allows a developer to abstract or decouple the hardware details from the application code.
Embedded C developers shy away from C++ out of concern for performance. The class construct is one of their main concerns. My previous article Code Craft – Embedding C++: Classes explored whether ...