News for hackers. Stuff that matters.
Re:Ask HN: What's the Deal with HN and Rust? by zozbot234 on Tuesday March 15, 2022 @10:21AM (#30685655)
Note that generics in Rust are not intended to replicate everything that C++ templates do, Rust has macros for the more complex uses. There's also a lot of vaporware coming from C++ standard development proposals about "metaclasses" and "reflection" being added to some future version of C++, this would basically be their way of doing the equivalent of hygienic macros in Rust. C++ has also added recent support for parallel and heterogenous programming (GPUs, accelerators etc.) for which Rust has no equivalent as of yet.

There are no comments on this comment yet.