~/talk

Message Handling with Boolean Algebra

Talkat CppCon 2024 · on Monday, 2024-09-16· at 14:00· Cottonwood 2/3, 6700 North Gaylord Rockies Boulevard· [rust]
slides:none on file

A message-handling library for embedded systems uses Boolean algebra to simplify match expressions at compile time so runtime dispatch does minimal work. It implements compile-time simplification, a customizable negate and implies operation, and transforms predicates into disjunctive normal form for an index that yields bitset-based dispatch. The code is open source, the approach reduces evaluated predicates dramatically, and an extensive test suite verifies the simplifications and indexing work as intended.

AI-written summary · about

  1. 0:00Introduction
  2. 2:12Message Handling Overview
  3. 4:06Fields and Messages
  4. 9:26Implementing Matchers
  5. 13:02Matcher Composition
  6. 17:41Simplifying Expressions
  7. 25:37Curry-Howard Isomorphism
  8. 30:13Logical Implication
  9. 36:11Implication Application
  10. 43:40Sum of Products
  11. 49:40DNF Transformation
  12. 55:13Ordering and Summary
  13. 58:32Q&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.