~/talk

Embedded Friendly C++: Features That Make a Difference

Talkat Meeting C++ 2025 · 2025-11-06..11-08· [rust]
slides:none on file

Concrete code: parsing MAC strings into a strongly typed array, packing floats into FP16, asserting no-padding with has_unique_object_representations, and switching compile/run behavior with if consteval and constinit. The talk shows library fixes not promises: std::bit_cast for safe type punning, std::expected for value+error returns, and a new zero‑copy path using std::start_lifetime_as that is implemented in recent GCC but needs extra compiler support elsewhere. Examples compile and run, with caveats about past UB and portability.

AI-written summary · about

  1. 0:00Embedded friendly C++ features
  2. 2:07Simple embedded light bulb system
  3. 6:45No padding in data structures C++17
  4. 8:50Debug compile-time vs runtime C++20
  5. 13:25Convert strings to MAC addresses C++20
  6. 17:42Error handling with std::expected C++23
  7. 22:41Safe type punning with std::bit_cast C++20
  8. 27:14Efficient enum to string mapping C++23
  9. 31:52Zero-copy network data reception C++23
  10. 36:33Handling endianness in network
  11. 40:28Custom deleters for unique_ptr C++20
  12. 47:28Optimizing lambda call operators C++23
  13. 51:07Q&A
~/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.