~/talk

Developing Macros in Rust

TalkinFrenchat DevFest Toulouse 2024 · on Thursday, 2024-11-07· [compilers-and-language-design]
links:none on file
slides:none on file

Shows how to write Rust macros using Rust’s metaprogramming system: explains macro types and demonstrates step-by-step macro development with a simple example, including practical tips and tricks for implementing and debugging macros.

AI-written summary · about

  1. 0:00Introduction
  2. 1:06Professional context
  3. 2:10Macros theory
  4. 7:23Demo setup
  5. 13:00Derive macro with proc-macro2
  6. 18:32Macro blueprint
  7. 27:37Macro implementation
  8. 31:05Debug features
  9. 39:55Error handling
  10. 44:02Practical tips
  11. 44:43Conclusion & Q&A
~/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.