~/talk

The Philosopher's String

Talkat try! Swift Tokyo 2019 · 2019-03-21..03-22· [swift, web-platform]
slides:none on file

Argues String defaults to a collection of extended grapheme clusters so code matches user‑perceived characters (an emoji can be four scalars), chooses canonical equivalence and NFC for fast, stable machine ordering, and pivots Swift 5 toward utf8 for performance and code size. Demonstrates building working tools: a Unicode code‑point printer using custom interpolations, padding helpers, scalar and scalar‑view fallbacks, and a multiline template — all implemented and shown producing the expected output.

AI-written summary · about

  1. 0:00Intro
  2. 0:30What is a String?
  3. 2:15Swift's Philosophy of Strings
  4. 2:46Why It's Complicated
  5. 3:23Character Building
  6. 4:28Good Default Behavior
  7. 5:27Degenerate Graphemes
  8. 7:58Human Ordering
  9. 8:51de Machine Ordering
  10. 11:33Breaking From the Default
  11. 12:01The Right View for the Job
  12. 13:08Evolutionary History of String
  13. 16:19Get Involved: Share your code!
  14. 17:44Example: Formatting Strings
  15. 21:54What You Can Do
~/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.