~/talk

A Modern Editor Built in Rust

Talkat RustConf 2016 · 2016-09-09..09-10· [rust, frontend-architecture]
slides:none on file

XIeditor is a high‑performance text editor implemented primarily in Rust, claiming 10,000 lines of Rust with 0 uses of unsafe, plus a Mac front end of 1,200 lines of Swift and 27 contributors. It loads a 380 megabyte file in about a second, sustains 60 fps scrolling, uses rope trees for log‑time edits, incremental word‑wrap touching 140 bytes in 0.01 ms, a Unicode line‑breaker 3× faster than ICU, and a JSON‑RPC microservice plugin model that demonstrably works.

AI-written summary · about

  1. 0:00Intro
  2. 3:03Main goal: performance
  3. 4:37Architecture overview
  4. 5:40Life of an editing event 4
  5. 7:58Cocoa front-end
  6. 9:09Operational Transformation
  7. 12:26Xi-rope internals
  8. 16:46Monoid homomorphisms 2
  9. 18:27Incremental word wrap
  10. 19:32Plug-in architecture
  11. 23:26Syntax highlighting future
  12. 29:02xi-unicode
  13. 32:01Community involvement
  14. 33:41Questions
~/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.