~/talk

Catch ⬆️: Unicode for C++23

Talkat CppCon 2019 · 2019-09-15..09-20· [web-platform]
links:none on file
slides:none on file

C++ is gaining a concrete Unicode plan for C++23: Study Group 16 standardizes char16_t as UTF‑16 and char32_t as UTF‑32 after surveying ~100 compilers, defines encoding objects and container adapters (basic_text, text_view), and specifies three conversion paths (slow per‑code‑point, direct transcode, and SIMD‑style bulk). Existing toolchain gaps include the streams one‑to‑one rule and clunky codecvt/locale APIs; major codebases use ad hoc parsers (Chrome, Firefox, Qt) and ICU is powerful but awkward, while Boost.Text and encoding2rs offer usable libraries and utf_utils_sse_convert supplies fast SIMD conversion.

AI-written summary · about

  1. 0:00Introduction
  2. 0:46Story of Unicode
  3. 1:29What makes text inversion hard
  4. 3:47What is the encoding
  5. 5:15Unicode literals
  6. 6:11One to one restriction
  7. 7:46Virtual functions
  8. 9:31Unit conversion functions
  9. 11:42SIMD
  10. 12:21MV2 Wide Character
  11. 16:36ThirdParty Libraries
  12. 17:01ICU
  13. 18:32Other libraries
  14. 19:48Ups and Downs
  15. 21:43Iterators
  16. 23:05Stand Ranges
  17. 23:45Henrysaponin
  18. 25:05Landscape
  19. 25:17Standout text
  20. 25:50Container adapter
  21. 26:16Text view
  22. 26:30Basic text view
  23. 26:46Narrow execution
  24. 27:01Flexibility
  25. 28:21Implementation
  26. 28:54User Interface
  27. 29:27Networking
  28. 30:28Un unbounded view
  29. 31:42Encoding beauty
  30. 32:29Helper Types
  31. 32:46Result Types
  32. 33:02FunctionRef
  33. 34:27Gory
  34. 34:58Code Unit
  35. 35:40Codepoints
  36. 36:14State
  37. 36:56EncodeDecode
  38. 37:46OutputIterator
  39. 40:25DecodeInjective
  40. 41:02Static assert
  41. 42:48Overview
  42. 43:52Beyond the Objects
  43. 44:10Speed
  44. 46:59Code Snapshot
  45. 48:21Decode
  46. 50:42Encode decode
  47. 52:10TextTranscode
  48. 52:52Bob Steagle
  49. 53:18Use what you already have
  50. 53:52They get the nice
  51. 55:30Sponsorship
  52. 57:18Questions
~/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.