News for hackers. Stuff that matters.
Re:Memory safety CVEs differ between Rust and C/C++ by pjmlp on Tuesday June 16, 2026 @08:11AM (#48553988)
> 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.

Re:Memory safety CVEs differ between Rust and C/C++ by steveklabnik on Tuesday June 16, 2026 @11:06AM (#48556427)
Proc macros haven't depended on nightly things in a very, very very long time.
Re:Memory safety CVEs differ between Rust and C/C++ by pjmlp on Tuesday June 16, 2026 @11:09AM (#48556480)
Thanks 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.