~/talk

Missing (and future?) C++ range concepts

Talkat Meeting C++ 2025 · 2025-11-06..11-08· [frontend-architecture]
links:none on file
slides:none on file

Proposes concrete, implementable extensions to std::ranges: compile-time-sized ranges, contiguous chunks and a push-based customization point for_each_while(rng, sink). Shows a library prototype that replaces many iterator state machines with inlinable push loops, preserves chunked memcpy optimizations for joined spans, and enables heterogeneous generators so std::tuple can participate in range algorithms. The prototype composes with current views and yields measurably faster code after inlining while exposing edge cases for infinite and unbounded ranges.

AI-written summary · about

  1. 0:00Introduction and context
  2. 2:27Optimizing range performance
  3. 12:02Limitations of current models
  4. 15:39Chunked ranges and sink interfaces
  5. 24:36Compile-time metaprogramming
  6. 33:53Heterogeneous generators
  7. 45:27Handling infinite ranges
  8. 54:01Conclusion and Q&A
~/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.