2 ms·
> What metaprogramming does C++ have that rust is lacking? Compile time execution, and compile time reflection, with the same syntax. Proc macros are still a
by pjmlp 5mo ago
> What metaprogramming does C++ have that rust is lacking?
Compile time execution, and compile time reflection, with the same syntax.
Proc macros are still a kludge having to depend on syn crate, and some stuff used to depend on nightly, is that still the case, I don't keep track?
Additionally type specialisation, and explicit templates.
- steveklabnik 5mo agoProc macros haven't depended on nightly things in a very, very very long time.
- pjmlp 5mo agoThanks for the update, outside some weekend experiments, or having to compile from source some specific tools, I don't have much reasons to write Rust, thus not keeping that much other than conference talks that pop up on my feeds.