RTOS memory footprint

RTOS memory footprint

Most of the time, I subscribe to the view that “the only stupid question is the one you did not…

Efficient code – quiz answers

Efficient code – quiz answers

Two weeks ago, I set a quiz. I listed four ways to write some code, which was supposed to divide…

Efficient code – a quiz

Efficient code – a quiz

I was recently reading a set of “golden rules” for embedded programming. I am very skeptical about such proscriptive instructions…

Instrumentation

Instrumentation

Embedded software development tools are important to all developers and a topic that I frequently discuss [like here]. The way…

Get packing

Get packing

I have frequently made the observation that a key difference between embedded and desktop system programming is variability: every Windows…

Firmly in line

Firmly in line

A common compiler optimization is the inclusion of a function’s code at the location(s) from where the function is called,…

Staying in line

Staying in line

The idea of inlining code – placing the actual code of a small function at each call site – is…

Small or fast?

Small or fast?

Life is often about compromise, but embedded developers really are not good at that. Code generation is a context in…

++i or i++?

++i or i++?

If you are reading this blog, you are probably knowledgeable about embedded software and, therefore, like me, you consider yourself…