filmov
tv
Writing Rust Procedural Macros
Показать описание
This session, we walk through procedural macros, showing some of the great tooling available like cargo expand for understanding the code generated, and the crates used for writing our own.
We cover expanding other peoples macros, creating our own very simple derive macros, and building up more complex macros using repeat patterns in quote. We also cover basic error reporting, making use of item spans to ensure we report the errors in the correct place.
Useful links:
Presenter(s): Ciara
Meetup info:
You can also find us on discord, drop us a message to be sent the link
Big thank you to Esri for sponsoring our meetup page
We cover expanding other peoples macros, creating our own very simple derive macros, and building up more complex macros using repeat patterns in quote. We also cover basic error reporting, making use of item spans to ensure we report the errors in the correct place.
Useful links:
Presenter(s): Ciara
Meetup info:
You can also find us on discord, drop us a message to be sent the link
Big thank you to Esri for sponsoring our meetup page
Writing Rust Procedural Macros
Procedural Macros in Rust
Learning Rust: Procedural Macros
Procedural Macros in Rust (part 1)
Nine Rules for Creating Procedural Macros in Rust - by Carl Kadie - Rust Linz, December 2022
Rust's Witchcraft
A Practical Introduction to Derive Macros in Rust
Rust Procedural Macros (19.5 II)
rust macros are magic
Write Powerful Rust Macros - First Chapter Summary
RustLatam 2019 - Alex Crichton: Procedural Macros vs Sliced Bread
Declarative Macros in Rust
0406 [ Rust ] -- Learning Rust procedural macros
10 Minutes - Understand Derive Procedural Macro in Rust Language
Procedural macro in Rust
macros_rule the_world! - Alvin Ramskogler - Rust Linz, May 2022
Proc Macro Rules: An overview of procedural macros.
Rust Programming - Macros Quick Dev Tips
On Procedural Rust Macros
Procedural Macros in Rust (part 2)
Ace Rust Macros ♠️ the declarative kind
0407 [ Rust ] -- More Rust procedural macros
RustConf 2018 - My Little Procedural Macro by Chris Wong
Crust of Rust: Declarative Macros
Комментарии