Re:Writing Complex Macros in Rust: Reverse Polish Notation
by jackninja1 on Thursday February 01, 2018 @09:04AM
(#16281879)
Those are like different concepts. While Rust macros work on the AST and take AST nodes as arguments C++ templates are a whole meta language that also allows for code execution. I would say that Rust macros mainly do code generation while C++ templates also allow for computation.
[ Parent
| on HN ]
There are no comments on this comment yet.