Get the latest tech news
Let's write a macro in Rust
Macros are required to do some very helpful things in Rust, but this isn’t an article about any of those things. I became ennamored with macros many years ago when I read Practical Common Lisp and saw the implementation of a SQL DSL that works with built in data structures. The whole implementation took less than a screen of code and absolutely blew away my expectations of what it took to create DSLs.
None
Or read this on Hacker News