~/talk

C++ for Embedded Development

links:none on file
slides:none on file

Argues C++ is practical on constrained devices by naming compiler flags, library choices and measured costs: use -fno-exceptions and -fno-rtti to avoid unwanted overhead, choose GCC or Clang and libstdc++ vs libc++ by license, and prefer RAII/unique_ptr over manual goto cleanup. Shows a kernel-like function rewritten with exceptions and RAII increasing binary data by only 16 bytes plus an unwind table, and demonstrates performance/size wins from vector vs linked list and modern features (lambdas, move semantics) for safer, efficient embedded code.

AI-written summary · about

  1. 0:00Intro
  2. 5:14The Question
  3. 6:57C is more complex
  4. 8:03C is designed around you
  5. 11:30C hides things
  6. 14:22Using templates
  7. 16:28Compilers
  8. 21:25Missing Prototypes
  9. 24:00Casting
  10. 25:46Void pointers
  11. 27:21Cast operators
  12. 29:41Classes
  13. 32:17Overloads
  14. 34:39Linux Kernel
  15. 36:37Resource Acquisition
  16. 40:33Containers
  17. 46:56Exceptions
~/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.