~/talk

Declarative C++

Talkat C++Online 2025 · 2025-02-26..02-28· [c-and-cpp, compilers-and-language-design]
links:none on file
slides:none on file

Argues that C++ can be written declaratively by leaning on language features (concepts, constraints, ranges, algorithms, execution policies, parameter-pack folds, deducing this, user‑defined literals, coroutines/generators, span, scope_exit) and by building small libraries (a guarded object using RAII, a for_each_if algorithm, lazy ranges pipelines) so intent is the code’s specification; shows a protocol_stack_encoder zero‑copy example from the description and reports this approach runs in production and yields one defect per year while enabling compile‑time guarantees and parallel execution via execution policies.

AI-written summary · about

  1. 0:00Introduction to declarative C++
  2. 5:09Desirable qualities of software
  3. 12:11Evolution of looping constructs
  4. 20:31Parallelism and concurrency
  5. 31:37Guarded objects and thread safety
  6. 43:02Operator overloading for expressiveness
  7. 51:19Parameter packs and fold expressions
  8. 1:01:41Generic algorithms with concepts
  9. 1:11:24Ranges and pipeline composition
  10. 1:28:22Optional and monadic interfaces
  11. 1:31:37Strong types and RAII constructs
  12. 1:35:16Q&A and closing remarks
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.