~/talk

Designing for Ownership

Talkat EuroRust 2023 · 2023-10-12..10-13· [rust]
slides:none on file

Refactors a Rust serverless handler into a single Workload struct built with TryFrom from the incoming event, replaces unnecessary Rc and Box indirections by using references with lifetimes for strategies and ownership only where needed, and fixes a surprising compiler issue where a boxed trait object forced a 'static requirement; changing the executor to take ownership and consume the workload (one‑time run) removes clones, compiles cleanly, and simplifies data flow.

AI-written summary · about

  1. 0:00Designing for ownership
  2. 2:09Refactoring is essential
  3. 3:36From messy code to refactoring
  4. 6:03Problem with reference counters
  5. 9:37Rediscovering Java and ownership
  6. 10:42Pointer relationships complexity
  7. 13:11Refactoring results and trade-offs
  8. 14:56Data flow in design
  9. 17:03Flow-based programming
  10. 20:11Refactoring strategies
  11. 22:17Ownership semantics
  12. 23:21Key lessons
  13. 24:45Final results and future
~/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.