Hacker News new | ask | show | jobs
by bccdee 1651 days ago
C++'s templates go too far — way further than Rust's generics go. Rust's type system may technically be Turning-complete, but nobody's actually doing serious* metaprogramming in it, unlike in C++, where template metaprogramming is a whole discipline unto itself.

* not just toy examples

1 comments

Right, because Rust provides a real macro system for metaprogramming.