An overview of macros in Rust

from blog Steve Klabnik, | ↗ original
Jan 24 2017 Rust has had a lot of stuff going on with “macros”. There are a few, interconnected aspects of these features, many different names for the same thing, and a lot of development work going on. This post will give an overview of the past, present, and future of macros in Rust. Ultimately, macros allow you to write things like this: let map = hashmap!{ "a" => 1, "b"...