A subsidiary of CronBlocks  ·  Engineering Insights for Serious Practitioners

Posts

Showing posts with the label Systems programming

The Most Misunderstood Keywords in Embedded C/C++

Six keywords appearing in almost every embedded project, cited commonly in code reviews, and understood correctly by almost a negligible number of new developers. And this isn't a report from a random academic survey — it is a field report from development teams of systems where getting these wrong costs weeks and months. — 18 min read Particular kind of bug keeps haunting embedded systems: it is the kind where the code is correct, logic looks sound, unit tests pass, but the system still fails in hardware. You revisit the algorithm. Verify the peripherals. Add printf s for debugging — which, in turn, changes the timing enough for the fault to disappear. Then you remove it. And the problem returns. In a significant proportion of such cases, the root cause can be traced to misunderstood keywords. It is not about a missing keyword — it is about a keyword that is present, used with confidence, but doing something entirely different from what the developer beli...