Embedded.com Tech Focus Newsletter (11-24-14): Doing C language programming for the 21st century - Embedded.com

Embedded.com Tech Focus Newsletter (11-24-14): Doing C language programming for the 21st century

November 24, 2014

Doing C language programming for the 21st century

Embedded systems have changed a lot in the last 15 years. But until recently a basic building block – the C language – has not kept up. It’s time to start paying more attention to the newest C11 revision and how to use it.

Why you need the C Standard

I have a variety of C books, some of which are really good. Some aren't. And none are complete.

C11: C finally gets a new standard

An exploration of the new additions to the C language in C11, starting with concurrency, language-level atomic operations and thread primitives.

The New C11 Standard Explored

C11 specifies many security features that require minimal changes to existing code. They greatly reduce unexpected behavior and prevent many kinds of common attacks.

C11’s ease of use and how it compares with C++

C11 adds useful, handy features that match some of the additions to C++. However, key divergences mean that a few C11 features have no counterparts in C++.

Subtleties of the ANSI/ISO C11 standard

A detailed discussion of the fragility of the C programming language as it is presented in the new C11 revision, and why some of its ambiguities make it impossible to guarantee any C program will not crash.

Six Rules for Writing Clean Code

What constitutes an effective coding style? Here are six general rules for writing clean code that will help you steer clear of the problems that poor coding style creates.


Self-documenting code? What rubbish!

Comments on Comments

It's a mistake to place a comment after a line of C or C++

Assert() and other useful C language macros

Assertions and other C macros have been of tremendous use to developers in dealing with coding bugs. But why are they still debated especially within embedded designs, where they are of most benefit?

Documenting embedded code: ten tricks

Documenting code is a lot of work, but an essential part of what embedded engineers do and can't be skip it or done half-heartedly. Here are some tricks to make it easier and more complete.

Back to the Basics – Practical Embedded Coding Tips: Part 1

In this six part series, excerpted from a recent book for students, Jack Ganssle deals with the many embedded C-language coding problems and gotchas and provides some helpful hints on how to resolve them. Up first in Part 1: reentrancy, atomic variables and recursion.

UBM Tech

This e-mail was sent to EmailAddress

Go to Embedded.com
A UBM TechNewsletter ©2014. All rights reserved.
Privacy Policy I Advertising Information IUnsubscribe
UBM Tech , 303 Second Street, Suite 900 South, San Francisco, CA 94107

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.