3 ms·
> From few experiments I made Rust is not any faster in this department. Rather the opposite. Rust uses more generics in its idiomatic code than C++. If you'r
by zozbot234 5y ago
> From few experiments I made Rust is not any faster in this department. Rather the opposite.
Rust uses more generics in its idiomatic code than C++. If you're careful to split out your generic type impls to avoid excess code monomorphization, compile times can be manageable. Macro use brings similar concerns, but it's probably rarer unless you're relying on popular crates that need it such as serde.