Learn how the C++ RAII idiom enables better code with reduced maintenance overhead.
Category: Favorite Code Tricks
Why I love C++11 for Embedded Software and Firmware (or C++14, or…)
In the firmware and embedded software engineering domains, engineers overwhelmingly choose C as their language of choice. Evidence of this may be seen in the following screen-grab of a presentation by Dan Saks at CppCon2016. I would recommend the entire presentation, which…
Read More Why I love C++11 for Embedded Software and Firmware (or C++14, or…)
Brother, can you spare a GPIO?
Got a spare GPIO? A spare GPIO is an excellent tool to have in our troubleshooting and performance characterization toolbox.
Favorite Tools – Look Up Tables
As we grow in our engineering careers, we must continually add new tools to our collective tool kits. One favorite tool in my toolkit will be obvious to many experienced embedded software engineers. I still remember learning this approach early…
Favorite Tricks: Static Assert
One of my favorite software development "tricks" is making frequent use of any "static assert" feature provided by the compiler. This trick's primary benefit is in moving certain error conditions to compile-time rather than run-time. Embedded software engineers would be wise…