Re:C++26 Reflections adventures and compile time UML
by Thom2000 on Sunday August 03, 2025 @09:52AM
(#44776596)
Sadly, Rust proc macros operate on tokens and any serious macro implementation needs third-party crates.
Compile-time reflection, with good, built in API, akin to C# Roslyn would be a real boon.
Re:C++26 Reflections adventures and compile time UML
by galangalalgol on Sunday August 03, 2025 @10:03AM
(#44776669)
Any serious anything needs third party crates. Coming from c++ this has been the most uncomfortable aspect of rust to me, but I am acclimating.
Rust proc macros get used in serious production, even though they're quite slow to compile. Sure, std::meta is probably a bit clunkier, but that's expected from new C++ features as you say.