Wednesday, February 28, 2018

A Practical Intro to Macros in Rust 1.0



One feature of Rust that I'm rather enamoured with is its macro system. Known as "macro by example" (MBE) or sometimes referred to as macro_rules, it provides you with an impressive amount of power whilst not allowing for the sort of evil tricks you can pull in C/C++.

No comments:

How can you work with a JSON value if you know nothing about it?

I have talked about the difficulty of typing certain JSON values coming from some APIs. The JSON is just very complicated. When I do that,...