~/talk

Lifetimes in the Wild: How Reaper's Rust Editor Backend uses 'a without fear

Talkat Infonoms 2026 · on Saturday, 2026-10-24· [rust]
links:none on file
slides:none on file

Reaper is a Rust-backed IDE that uses explicit lifetime annotations to enable zero-copy string slices for chat history, code-coverage XML, and parser/lexer windows, keeping a vector of &str in structs for symbol indexes and AST nodes so the compiler can guarantee safety. Implementation uses Rust, a lexer/parser pipeline, LSP (jdtls for Java), and Cursor API JSON serialization; most features work and binaries are published on GitHub, though the build is finicky and the codebase is described as a working prototype.

AI-written summary · about

  1. 0:00Introduction and background
  2. 1:03Rust scoping rules and RAII
  3. 3:51Ownership and borrowing in Rust
  4. 9:27Lifetimes explained
  5. 15:57Building a Rust-based IDE
  6. 18:02Using lifetimes in serialization
  7. 21:10Lifetimes in structs and APIs
  8. 22:12Code coverage and XML slices
  9. 24:00Lexer, parser, and AST nodes
  10. 25:44Auto-complete and LSP integration
  11. 27:11Learning Rust and open-sourcing
  12. 28:57Q&A and resources
~/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.