~/talk

Discovering a User-Facing Concept

Talkat C++ on Sea 2022 · 2022-07-05..07-07· [c-and-cpp, typescript]
slides:none on file

Claims that concepts must be discovered from algorithms rather than types and demonstrates the process by deriving a ranges left-fold and a ranges reduce with loop unrolling, using std::invoke, sentinels, random access iterators and decay-result typing. Presents detailed requirements: syntax constraints, semantic axioms and complexity bounds, packages them into a readable detail concept (e.g. indirectly_left_foldable) and promotes a semigroup/magma abstraction. Shows loop unrolling can speed GCC but hurt Clang, so benchmarks are required; the implementation works but needs careful testing.

AI-written summary · about

  1. 0:00Introduction
  2. 13:00Generic programming
  3. 13:25Do I need a math background
  4. 14:12What is a concept
  5. 18:09Left Folds
  6. 21:08Normalize
  7. 24:17Improvements
  8. 28:10New Use Case
  9. 30:22New Expressions
  10. 38:52In iterative requirements
  11. 40:40New operation applications
  12. 43:58Domain of definition
  13. 45:51Semantic requirements
  14. 48:24Magma
  15. 51:58Associativity
  16. 52:55Semigroup
  17. 54:55Questions
~/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.