~/talk

Unicode in Rust - Illustrated by Kanji

Talkat Rust Belt Rust 2019 · 2019-10-18..10-19· [rust]
slides:none on file

Rust claims strings are UTF-8 and therefore cannot be indexed as characters; attempting to slice by bytes can panic because code points span 1–4 bytes. Examples use Kanji and the Han unification to show Unicode history from Oracle bone script and explain why first Unicode editions condensed thousands of CJK variants into ~20,000 slots. Current numbers: ~137,000 assigned code points with ~70,000 for CJK. Practical fixes are use .chars() or a grapheme crate and normalize strings before comparisons; Rust enforces UTF-8 at compile time.

AI-written summary · about

  1. 0:00Intro
  2. 0:37Jenny Manning
  3. 1:02String Indexing
  4. 2:29Why is Unicode so complicated
  5. 2:47Oracle Bone Script
  6. 3:29Traditional Chinese
  7. 4:23ASCII
  8. 4:49Unicode
  9. 5:44Character
  10. 7:02Abstract Character Shapes
  11. 8:18New Romans
  12. 8:59Korean Chinese Japanese
  13. 9:39Consequences
  14. 11:28Unicode Code Space
  15. 13:27Supplementary Multilingual
  16. 13:50Second Volume
  17. 14:53Usage
  18. 17:44Why we care
  19. 18:56Best practices
~/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.