~/talk

Real-time Safety — Guaranteed by the Compiler!

slides:none on file

Shows how Clang 20 Function Effect Analysis plus RealtimeSanitizer let the compiler enforce realtime constraints: mark functions non-blocking (or non-allocating) and get compile-time errors if they call malloc, take locks, or throw. Describes a real refactor at Squarehead moving a soft‑realtime DSP pipeline toward harder realtime, the need to write a custom non‑blocking type‑erased function to avoid std::function heap use, and how to handle unannotated third‑party libs with scoped ignores plus runtime sanitizer checks; the approach works in practice.

AI-written summary · about

  1. 0:00Introduction
  2. 1:34Real-time code challenges
  3. 8:56Clang 20 compiler tools
  4. 13:11Performance constraints
  5. 21:42Transitive checks and inheritance
  6. 29:14Third-party code and sanitizers
  7. 33:52Lambdas and callbacks challenges
  8. 42:02Type erasure and non-blocking functions
  9. 54:32Conditional non-blocking with templates
  10. 56:42Retrofitting real-time safety tips
  11. 1:00:13Q&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.