~/talk

Discovering a User-Facing Concept

Talkat CppCon 2021 · on Monday, 2021-10-25· at 11:00· Online E, online· [typescript]
slides:none on file

Claims that concepts are discovered by analyzing algorithms and demonstrates deriving a user-facing semigroup from a range-based left fold, building layered detail concepts like indirectly_left_foldable and using C++20 concepts (input iterator, sentinel, regular_invocable) to express exact requirements. Shows a hand-unrolled reduction (reduce) to exploit instruction-level parallelism, benchmarks vs gcc/clang that produce surprising regressions, and emphasizes keeping heavy requirements internal while documenting them and always benchmarking optimizations.

AI-written summary · about

  1. 0:00Introduction
  2. 0:30Why this talk
  3. 3:13Algorithm definition
  4. 4:52Types
  5. 7:27Generic Programming Abstract Algebra
  6. 10:29Concept Definition
  7. 11:46Concept Design
  8. 13:05Use Cases
  9. 15:53Normalize Code
  10. 24:04New Use Case
  11. 27:03New Expressions
  12. 29:41Questions
  13. 31:25Loop unrolling
  14. 36:47New iterator requirements
  15. 41:32What is an operation
  16. 42:11Domain of definition
  17. 46:34Magma
  18. 52:05Formal Mathematical Definition
  19. 52:37Semigroup
  20. 56:00Epilogue
~/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.