~/talk

Modern C++: C++ Patterns to Make Embedded Programming More Productive

Talkat CppCon 2022 · 2022-09-11..09-16· [rust]
links:none on file
slides:none on file

Shows concrete patterns: a declarative gpio definition and small functor-based chipselect that centralizes intent; constexpr thermistor lookup (256 floats compiled into .rodata) generated from compile-time formulas; a custom MCU file-stream that replaces <iostream> and reduces binary from ~157 KB (iostream) to about 2.3 KB (vs 1.7 KB empty main) — tiny cost for stream IO; an arena allocator that boosts allocations (341 → ~3×) for allocate-once ML graphs; examples compile and run on a dev board.

AI-written summary · about

  1. 0:00Introduction to embedded
  2. 5:28Declarative GPIO config
  3. 9:31Modular IO handling
  4. 15:57Compile-time lookup tables
  5. 23:22Readable numeric structures
  6. 31:00Lightweight stream IO
  7. 40:57Safe heap usage
  8. 50:23Chrono and performance
  9. 54:56Random data generation
~/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.