Thought Leadership
Article about some subtleties of the C language
My latest article on embedded.com has been published here. I am looking at some of the subtleties of the C language that may be of concern for embedded applications. Here are the details:
Surprises in C code
The C language is quite flexible and expressive; these are some of the reasons why it has been successful and resilient to being replaced by “better” languages. An example of its flexibility is the possibility to write an expression in a number of ways that are functionally equivalent. This enables the style of coding to be adapted to personal needs. However, there is a catch: sometimes, apparently equivalent code has subtle differences. This can occur in the simplest code and we will explore some possibilities in this article.