Why is mainstream Rust so macro-heavy?
While going through Luca Palmieri's book Zero to Production in Rust, I realized majority of the heavily used crates in Rust ecosystem are macro-heavy. Procedural macros for initialization and configuration, declaratives for variadic functions and kind-of "one command that rules them all" APIs.
What would writing and reading Rust be like without the convenience of macros?
3 posts - 3 participants
原文:https://www.a8q9.cn/en/article/why-is-mainstream-rust-so-macro-heavy-d5af82.html