mirror of
https://github.com/kamranahmedse/developer-roadmap.git
synced 2026-10-25 17:42:27 +08:00
* refactor: clean to roadmap content * refactor: move shared helpers into scripts/lib
775 B
775 B
Macros and Metaprogramming
Macros are code that writes code, enabling metaprogramming in Rust. Declarative macros use macro_rules! for pattern-based code generation, while procedural macros provide custom derives and function-like macros. They're expanded at compile time, offering zero-cost abstractions.
Visit the following resources to learn more: