~/talk

Concepts: The Future of Generic Programming

slides:none on file

C++ gains named concepts that act as concepts are compile-time predicates to constrain templates, fix horrible template errors, and enable overload resolution that picks the fastest algorithm (e.g. O(1) advance for random access vs O(n) for lists). Implementation uses requires-expressions, named concepts, and standard-library concepts (ranges, iterators); compilers ship it (implemented in GCC for about three years) and it enters C++20, with zero runtime overhead and practical production use.

AI-written summary · about

  1. 0:00Introduction
  2. 1:12How do you value programming
  3. 1:47Generic programming
  4. 3:09What is generic programming
  5. 4:22Why we need generic programming
  6. 6:28C
  7. 8:40Templates
  8. 9:55Sortable
  9. 11:39Lists
  10. 12:58Concepts
  11. 16:20Example
  12. 18:14Title slides
  13. 18:30Defining concepts
  14. 19:57Defining equality comparable
  15. 21:36Sequence definition
  16. 22:27Partial incomplete concepts
  17. 23:15Finding concepts
  18. 25:00Semantics
  19. 25:33Multi Arguments
  20. 26:58Merge
  21. 27:30Template checking
  22. 30:02Range checking
  23. 30:45History
  24. 32:58Impala
  25. 33:09Advance
  26. 36:36Voidstar
  27. 36:58Typename
  28. 37:56Plug and Play
  29. 38:39Input Channels
  30. 39:33Concrete Suggestions
  31. 40:50Expectation
  32. 41:36Twitter
  33. 41:54Biggest regret
  34. 42:55Life advice
  35. 43:44Java vs C
  36. 45:47C vs JavaScript
  37. 47:33What do you do
  38. 48:28What language is most elegant
  39. 49:40Interface vs Duck Typing
  40. 50:29Go Language
~/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.