~/talk

Modern Software Needs Embedded Modern C++ Programming

Talkat CppCon 2020 · 2020-09-14..09-18· [embedded-and-hardware]
links:none on file
slides:none on file

Argument: embedded systems deserve Modern C++ but must match compiler constraints, so migration splits into three Ages that map features to available toolchains. Practical steps include switching .c to .cpp, fixing cast errors, using brace initialization, static_assert, constexpr, and unique_ptr/std::array/move semantics for predictable, zero‑overhead lifetimes. Avoid heap and exceptions on hard real‑time paths; use fixed pools or flat containers. SG14 prototypes deterministic exceptions, a memory management facility, flat_map and ring buffers; companies like Sonova and Adaptive AUTOSAR already move toward C++17/20.

AI-written summary · about

  1. 0:00Intro
  2. 2:46What Is an Embedded System?
  3. 5:55Wide span of response time
  4. 7:25Wide span of hardware
  5. 9:222 General domains
  6. 10:56Design characteristics
  7. 16:23C++ domains examples
  8. 17:01Constraints on the embedded code differ from Bjarne Stroustrup
  9. 18:06Some good reasons to stick with C
  10. 20:00Temporary reasons for Using C
  11. 26:02What people think and what C++ is
  12. 27:31Comparing C and C++
  13. 30:51C: Conventions rule
  14. 31:27C: Limited Type System
  15. 35:58The problem with floating point
  16. 36:33The problem with exceptions
  17. 38:23Gradual adoption strategy
  18. 39:49Gradual adoption: Low impact C++ feature
  19. 41:05Brace init prevents narrowing
  20. 41:59User defined literals
  21. 46:01digit separator in literals
  22. 47:03Enum classes
  23. 47:34By reference parameters
  24. 49:06Overloading
  25. 49:20Default parameters
  26. 50:04Abstract data types
  27. 52:11Future Embedded engineering
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.