~/talk

Macros for a More Productive Rust

Talkat RustConf 2020 · 2020-08-20..08-21· [rust]
links:none on file
slides:none on file

Shows concrete macro techniques: reproduces an as_bytes trait impl for every integer type with a single macro, demonstrates recursive token‑tree parsing and repetition patterns, and uses internal rules plus a tt‑mantra to process tokens one at a time. Mentions tooling like cargo expand and the Rust playground, the paste crate to synthesize identifiers, syn/quote for proc macros, examples like serde/derive, binread, inline_python, skyline_hook (binary function patching), and cpp_inherit (DWARF/vtable generation via GCC).

AI-written summary · about

  1. 0:00Intro
  2. 0:38Macros
  3. 3:42Macro Rules
  4. 10:20Proc macros
  5. 15:53Examples
  6. 22:27Conclusion
~/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.