~/talk

Not getting lost in translations

Talkat NDC TechTown 2024 · 2024-09-09..09-12· [c-and-cpp]
slides:none on file

Describes a library that preserves compile‑time checks of std::format while allowing runtime language selection by compiling gettext PO/MO data into the binary and using a compile‑time hash of format texts. Uses the Unicode CLDR plural rules to pick plural forms, implements a format_string_translator that finds the plural argument via template pack folding and converts heterogeneous arg packs to an indexable array, and runs a compile‑time integration test over ~500 translations to validate behavior on MSVC/Clang/GCC toolchains.

AI-written summary · about

  1. 0:00Machine translation software
  2. 3:01Company founding and architecture
  3. 6:12Choosing text files
  4. 15:07Boost.Format limitations
  5. 18:22Template metaprogramming costs
  6. 23:24String formatting in C++20
  7. 26:00Constant evaluation in compilers
  8. 31:23Compile-time translation design
  9. 40:09Heterogeneous type sequences
  10. 48:46Pattern matching for translation
  11. 54:32Compile-time testing
  12. 57:46Conclusion
~/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.