3 ms·
> Compile-time code/type generation and verification Rust does have a procedural macro system which can be used to do these things. Surely actual procedural m
by 0815test 8y ago
> Compile-time code/type generation and verification
Rust does have a procedural macro system which can be used to do these things. Surely actual procedural macros are better than hacking the template system to generate custom code, which is the typical approach in C++.
- jandrewrogers 8y agoThis is not remotely the same. You are seriously underestimating the capabilities of C++17 in this regard.
- JoachimSchipper 8y agoDo you happen to have a link to a page explaining these techniques? I code in C and dabble in Rust, but this sounds interesting. (Sorry, I know this is a few days old by now...)