~/talk

Faster, Safer, Better Ranges

Talkat C++ on Sea 2025 · 2025-06-23..06-25· [c-and-cpp]
slides:none on file

C++ ranges often lose performance and can be unsafe; this describes a concrete alternative: Flux v2 implements an internal-iteration-first model with resumable iteration contexts (single-pass iterables) plus a separate collection protocol using ordered, bounds-checked positions. The library turns standard input/forward/contiguous ranges into fast iterables, produces SIMD-friendly code comparable to hand-written loops, eliminates the earlier UB/crash case by enforcing bounds, and remains interoperable with STL algorithms and containers.

AI-written summary · about

  1. 0:00Introduction
  2. 4:41C++ ranges problems
  3. 16:03Goals for new library
  4. 22:09Flux V1 lessons
  5. 27:47Flux V2 introduction
  6. 35:10Iteration contexts
  7. 41:35Building pipelines
  8. 49:23Performance comparison
  9. 53:14Bounds-checked positions
  10. 56:33STL compatibility
  11. 58:40Flux V2 benefits
~/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.