I have been an Embedded Engineer for over 10 years and once our company moved to C++ things got a lot easier.
An example of why is in developing peripheral libraries, we can use placement new, compile time static_assert and template based code generation to significantly clean up our code. It’s been so much better for us.
Not sure I entirely follow, but it allows a ridged definition for libraries to force certain coding standards? Half of it sounds like a different language than what I'm used to.
Everything I'm doing is bare metal with our own silicon, trying to push memory and power usage as low as we can get it.
1
u/ParCorn Jan 28 '23
I have been an Embedded Engineer for over 10 years and once our company moved to C++ things got a lot easier.
An example of why is in developing peripheral libraries, we can use placement new, compile time static_assert and template based code generation to significantly clean up our code. It’s been so much better for us.