~/talk

Keynote: Not Getting Lost in Translations in C++ Software Development

Talkat C++ on Sea 2024 · 2024-07-02..07-05· [software-architecture]
slides:none on file

Claims ability to keep compile-time validation of std::format-style format strings while allowing runtime language selection; implements a pipeline that extracts translatable literals, compiles gettext PO/message-format into constexpr tables, and uses consteval/constexpr, C++20/23/26 features (including heterogenous type indexing and reflection) to validate formats, plural forms (from Unicode rules) and argument-to-quantity mapping at compile time. Integrates with build tools, replaces boost::locale backend, runs the same checks at runtime and compile time and reports mismatches before deployment.

AI-written summary · about

  1. 0:00Introduction to talk
  2. 1:13Machine inspection for train wheels
  3. 3:01Developing the first inspection machine
  4. 4:51Supporting multiple languages
  5. 6:50Introducing gettext library
  6. 8:43Marking translatable text
  7. 10:28Compiling PO files
  8. 13:05Plural forms in translations
  9. 14:37Returning string_view for efficiency
  10. 15:38Template metaprogramming basics
  11. 17:36Type traits and template interfaces
  12. 19:26Rule of Zero and template metaprogramming
  13. 20:38Understanding functions in C++
  14. 23:30Function syntax and parameters
  15. 26:35C++20 format functions
  16. 29:27Constant evaluation in C++
  17. 31:16Example of constant expressions
  18. 33:21Boost.Locale and C++23
  19. 36:12String translation at compile time
  20. 38:22Type-based selection for translations
  21. 39:09Heterogeneous sequences
  22. 41:06Algorithm for type indexing
  23. 46:02Production changes in 2023
  24. 47:09Unit testing translation tools
  25. 49:10Loading translation modules
  26. 51:27Compile-time translation checks
  27. 52:55Compiler as testing framework
  28. 53:19Summary and conclusion
~/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.