~/talk

“A modern formatting library for C++”

Talkat CppCon 2017 · 2017-09-24..09-29· [c-and-cpp, compilers-and-language-design]
slides:none on file

A modern C++ formatting library (fmt) implements a Python-like brace syntax and a std proposal P0645R0, uses variadic templates plus a compact type-erasure arg store and a buffer abstraction with a single virtual grow, and exposes format/format_to APIs and a formatter<T> parse/format extension model. Benchmarks show 6x compile-time improvement and order-of-magnitude smaller binaries versus Folly-style templates, runtime costs are within 10% of printf (faster than iostreams), floating-point still falls back to sprintf but plans include Grisu/double-conversion replacements.

AI-written summary · about

  1. 0:00Introduction
  2. 1:31Problems with printf
  3. 10:55Extensibility issues
  4. 12:25iostreams limitations
  5. 21:40Existing formatting libraries
  6. 25:20Proposed modern solution
  7. 38:36Implementation details
  8. 43:11Benchmarking results
  9. 53:08Library history and adoption
  10. 55:20Q&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.