An Introduction to Modern C+(+) for Embedded Programmers
Niall Cooling - Available in 10 days, 7 hours and 21 minutes (2021-05-18 08:00 EDT)
Audience: experienced embedded C programmers
Duration: 2 Hours
Type: Hands-on labs
Many experienced embedded programmers still, rightly, have concerns or are sceptical about using C++ in deeply embedded applications. However, many of their misconceptions are based on the original definition of C++ (ISO C++98). In the subsequent 20+ years, C++ has moved on significantly and is no longer _the language you tried to learn and hated_.
Both C and C++ had major revisions in 2011 (C11, C++11) and subsequently C++ has had three further revisions (C++14, C++17, C++20).
This two-hour workshop will introduce, using hands-on programming, what we refer to internally, as "C+(+)". C+(+) is a natural subset of C++ for the embedded programmer. Rather than introducing the full depth and breadth of the language, it focusses on this part most useful.
By 'useful' it focusses on the following:
- performance gains
- memory safety
- type safety
It also readdresses the sticky area of using dynamic memory in an embedded application; banned by many coding standards.
At the end of the workshop don't expect to be a fully-fledged C++ programmer, but more importantly, you will discover the "quick wins" by merely changing your file extension from ".c" to ".cpp".