~/talk

From Any to This

Talkat EuroRust 2025 · 2025-10-09..10-10· [rust]
slides:none on file

A large refactor replaces anyhow with concrete thiserror types across 14 repos and ~50 crates, creating a new dino_error macro to derive JS error classes, export additional properties, and generate boxed variants; about 210 errors rewritten and a helper for boxing avoids giant enum payloads. The work spans months, requires briefly blocking main to land, increases binary size modestly, and yields concrete benefits: predictable Result types, easier downcasting and error origin tracking, and fewer string-matching hacks.

AI-written summary · about

  1. 0:00Error handling in Dino
  2. 1:53Anyhow in libraries problems
  3. 3:44JavaScript-Rust errors
  4. 6:36Dino_error macro crate
  5. 9:51Macros define JS errors
  6. 13:03Rust macro error best practices
  7. 14:27Rust to JS exceptions
  8. 15:11Boxed_error for boxing
  9. 16:58Switching to this_error outcomes
  10. 19:06Rolling out changes challenges
  11. 19:48Feedback and impact
  12. 20:10Rewriting anyhow to this_error
~/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.