~/talk

Advanced Usage of the C++23 Stacktrace Library

Talkat ACCU 2024 · 2024-04-17..04-20· [c-and-cpp]
links:none on file
slides:none on file

C++23 supplies a standardized stacktrace API used with GCC (needs debug info and libbacktrace linked; GCC 13.3 flips the flag by default), and examples show a recursive Fibonacci that records a stack depth 133 and inspects entries, plus a working Boost.Beast coroutine web server that captures and pretty-prints frames at request time. The library is not signal-safe so use Boost stacktrace or CPPTrace’s safe dump for handlers; source and demos are on GitHub.

AI-written summary · about

  1. 0:00Introduction
  2. 1:11Stacktraces
  3. 3:43Stacktrace in C
  4. 8:09Compilation Leaking
  5. 11:07Observations
  6. 13:04BoostAIO
  7. 18:46Asynchronous Signal Safety
  8. 20:27Summary
  9. 22:09Resources
~/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.