~/talk

Making life easier with Derive and other tools

Talkat RustLab 2019 · 2019-06-28..06-29· [developer-experience, rust]
links:none on file
slides:none on file

Uses derive macros (syn, quote, synstructure, darling) to generate hundreds of repetitive implementations across 362 CSS properties, replacing hand‑written match/serialize/compute code and removed 4,000 LOC from Servo. Builds a procedural macro that emits serialization and has‑viewport‑percentage logic per enum/field, finds real bugs (missing spaces in serialization), and implements an inert crate that auto‑generates neutralized wrappers so single‑threaded RefCell data can be accessed from layout threads without ad‑hoc unsafe code.

AI-written summary · about

  1. 0:00Introduction to Stylo
  2. 5:29Procedural macros
  3. 7:27Implementing derive macros
  4. 10:46Handling complex serialization
  5. 13:49Using Darling for attributes
  6. 16:09The Inert crate and concurrency
  7. 23:51Q&A and closing remarks
~/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.