~/talk

More Than You Want to Know about Java's String

Talkat JBreak 2017 · on Tuesday, 2017-04-04· [java]
links:none on file
slides:none on file

Explains why Java’s UTF-16 strings force costly encode/decode on every IO and waste space, and shows a working alternative used in JRuby: strings as a byte array plus an encoding with a small mutable buffer ByteList, fast byte↔byte transcoding in JCodings and a stackless, interruptible regex engine Joni. Claims Joni runs 2–3× faster than java.util.regex for tested workloads, avoids stack overflows, and is already used by Facebook Presto, TruffleRuby and Nashorn, with libraries production proven and seeking contributors.

AI-written summary · about

  1. 0:00Start
  2. 3:27What Strings Are
  3. 3:44Character Encodings
  4. 4:03What Is a Character
  5. 4:31Ascii
  6. 5:32Ascii Chart
  7. 10:38Multibyte Encodings
  8. 12:14Shift Gist
  9. 13:32Chinese
  10. 15:26Unicode
  11. 16:16Standard Code Points
  12. 21:34Problems with Use with Java's Utf-16
  13. 22:52Han Unification
  14. 34:03Regular Expression Engine
  15. 38:20J Coatings
  16. 39:19Encoding Support
  17. 40:33Transcoding
  18. 41:59Bonus Features
  19. 53:08Transcoding Performance
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.