~/talk

Under the Hood of Procedural Macros

TalkinRussianat RustCon 2021 · on Friday, 2021-12-03· [rust, compilers-and-language-design]
links:none on file
slides:none on file

Covers low-level internals of Rust procedural macros: the compiler API available to proc-macros (what they can and cannot do), how a proc-macro is compiled into a dynamic library, and how rustc interacts with that DLL. Also briefly surveys higher-level helper crates (proc_macro2, syn, quote) and editor support in rust-analyzer and intellij-rust.

AI-written summary · about

  1. 0:00Introduction
  2. 3:13Macros in Rust
  3. 7:06Procedural macros
  4. 10:43Token streams
  5. 18:53Procedural macro compile
  6. 25:58Calling convention
  7. 31:46RPC in macros
  8. 36:10Macro isolation
  9. 45:19Q&A
~/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.