~/talk

“Constexpr Everything” - The Standard Library, Microkernel, Apps, and Unit Tests

Talkat CppCon 2021 · on Monday, 2021-10-25· at 14:00· C) Summit 7, online· [software-architecture]
links:none on file
slides:none on file

Claims an AUTOSAR‑compliant hypervisor microkernel, apps and unit tests are implemented in C++20 as constexpr everything, with a bespoke BSL, Clang Tidy‑based AUTOSAR checker, and unit tests executed at compile time. The project reports a working microkernel reduced to ~105KB, 100% code coverage for the constexpr-tested parts, and practical workarounds for non‑constexpr bits (physical/virtual translation, assembly, globals). Watch if concrete tooling, exact limitations, and surprising compile‑time UB detection matter to tonight’s choice.

AI-written summary · about

  1. 0:00Start
  2. 3:39WHAT IS UNDEFINED BEHAVIOR?
  3. 4:34WHY DO WE HAVE UNDEFINED BEHAVIOR?
  4. 5:56WHAT IS A VALID PROGRAM?
  5. 6:18WHAT IS A DEFINED PROGRAM?
  6. 6:54PROBLEM
  7. 7:48WHAT IS A UNIT TEST?
  8. 25:17BAREFLANK SUPPORT LIBRARY
  9. 29:20BAREFLANK HYPERVISOR (CONTINUED)
  10. 42:42WHAT IS A MOCK?
  11. 49:49FINAL THOUGHTS
~/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.