~/talk

Compile-time Initialization & Build Library for Composing Modular Firmware

Talkat C++Now 2022 · 2022-05-01..05-06· [embedded-and-hardware]
slides:none on file

A compile-time library called the Compile-time Initialization and Build (CIB) composes modular embedded firmware by wiring independent components into nexus and main-loop extension points using constexpr and template metaprogramming. Components register callbacks at compile time so initialization work disappears from runtime, producing very small assembly; only a few pointer stubs remain and LTO further inlines and removes them. The demo builds greeting, loop-count, and ID features with zero runtime initialization and is on GitHub.

AI-written summary · about

  1. 0:00Start
  2. 0:22Compile Time Initialization and Build Library
  3. 0:57Compiler Explorer
  4. 2:11Informal Greeting
  5. 2:41Print the Loop Count
~/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.