3 ms·
Rust. The alternative is Rust.
by jnwatson 3y ago
Rust. The alternative is Rust.
- nuancebydefault 3y agoI hope you will be proven right!
- marsven_422 3y ago[dead]
- GuB-42 3y agoI don't think Rust has an equivalent to C++17 constexpr, it is more limited. Zig may be a better option when it comes to compile-time evaluation.
- pie_flavor 3y agoThe `if` part of the quoted example, you can do in Rust; the `else` part is coming with the specialization feature soon. Everything you can't do with traits, including specialization, you should probably not be doing; modern C++ tends to be an incomprehensible template forest.