~/talk

“Range-Based Text Formatting For a Future Range-Based Standard Library”

Talkat CppCon 2018 · 2018-09-23..09-28· [software-architecture]
links:none on file
slides:none on file

think-cell implements a range-based formatter that treats values as lazily generated character ranges, adds an internal iteration model plus customization points called appender and chunk, and composes ranges with concat and as_dec formatters. Benchmarks show iterator-based ranges are ~50% slower than a hand-written tight loop, while internal-iteration ranges are ~15% slower; avoiding end-checks on reserved buffers saves ~20%. Code targets recent C++ compilers, still uses parts of Boost, and is on GitHub under a Boost license.

AI-written summary · about

  1. 0:00Introduction to text formatting
  2. 1:06Format strings vs C++ syntax
  3. 9:42Why ranges for formatting
  4. 12:56Ranges in text formatting
  5. 14:21Concatenation with ranges
  6. 20:46Implementing formatters lazily
  7. 22:32Performance optimizations
  8. 27:15Internal vs external iteration
  9. 35:51Benchmarking performance
  10. 42:57Library availability and future
  11. 43:26Q&A session
~/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.