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,…

C++ at fault

C++ at fault

I like being right. Who does not? I am also interested in programming languages. Part of their appeal is that,…

Function parameters

Function parameters

When you use a function in C/C++ [or most other programming languages] you are likely to pass it some parameters…

When compilers do magic

When compilers do magic

What is a compiler? Ask an average engineer and you will get an answer something like: “A software tool that…

Static or static

Static or static

In English, the word “static” has a variety of meanings, but they can be summed up by the definition of…

Staying in line

Staying in line

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

Overloading or obfuscation?

Overloading or obfuscation?

What is the key objective when you write some code? The obvious answer is that you want to impart some…

Product quality: belief or proof?

Product quality: belief or proof?

There are two aspects of any product that give me great pleasure: good design and quality of manufacture. This applies…

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…