~/talk

Real-time Programming with the C++ Standard Library

Talkat CppCon 2021 · on Friday, 2021-10-29· at 09:00· online· [web-performance]
links:none on file
slides:none on file

Audio callbacks arrive every 1–10 milliseconds so worst‑case bounds matter; exceptions can be zero‑cost on many ABIs but Windows 32‑bit pays runtime cost; stable_sort stable_partition and in_place_merge and parallel algorithms may allocate; std::pmr monotonic_buffer_resource and unsynchronized_pool_resource let you preallocate lock‑free memory for real‑time vectors; std::variant (standard) avoids heap backup that boost::variant does; only atomics are portably real‑time safe; mersenne twister and std::uniform_real_distribution are amortized, use xorshift or a simple LCG instead.

AI-written summary · about

  1. 0:00Introduction
  2. 1:18What is realtime
  3. 2:39Use Cases
  4. 7:07Realtime Save Code
  5. 9:58Nonhosted implementation
  6. 10:40Freestanding implementation
  7. 12:20The standard
  8. 14:50Exceptions
  9. 15:48Exception Models
  10. 22:17Variable Length Array
  11. 23:15Custom Allocators
  12. 30:17Standard Utilities
  13. 34:09Lambdas
  14. 37:31synchronization primitives
  15. 39:25atomic
  16. 41:54random numbers
  17. 43:59random number engines
  18. 48:08Uniform distributions
  19. 51:32Questions
~/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.