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 may be found here: https://youtu.be/D7Sd8A6_fYU Selecting C over C++ is a reasonable and conservative choice, especially … More Why I love C++11 for Embedded Software and Firmware (or C++14, or…)

Premature optimization?

“…premature optimization is the root of all evil…” – Donald Knuth This well known quote by Donald Knuth represents hard-earned wisdom for which many software engineers should consider and broadly follow. Yet with any succinct rule we must be vigilant in our application and apply it appropriately. In some cases it may be found that … More Premature optimization?

Tenderfoot: Introduction to Magic (Numbers that is…)

Hi there… New post over on embeddedrelated.com From the article: So, why did I pause and take note of this particular code? We will skip over the eye catching “requires about” statement in the related code comment and focus on this primary issue, what experienced software engineers will immediately recognize as: “magic numbers” Read more … More Tenderfoot: Introduction to Magic (Numbers that is…)

Questions to Ask: Software Architecture, Design, And Coding

The process involved in architecting, designing, and writing embedded software and firmware is complicated, but I believe often times may be guided with a set of questions which must be continually evaluated by the engineering team as software development proceeds forward. This post provides a few of the questions I might be considering during my personal process. … More Questions to Ask: Software Architecture, Design, And Coding