Re:Rust on the ESP32 (2019)
by zozbot234 on Sunday July 05, 2020 @10:24AM
(#23738886)
Rust has plenty of support for compile-time code generation of all kinds. It's generally viewed as something that should be done only as a last-resort, but it's there and fully supported.
[ Parent
| on HN ]
Do you know good resources for learning about these options?
The book has a good intro to their capabilities: https://doc.rust-lang.org/stable/book/ch19-06-macros.html
There are blog posts exploring some of the use cases for them, but it depends a lot on what you want to do.