Re:Safety vs. Performance. A case study of C, C++ and Rust s...
by jeffbee on Thursday October 05, 2023 @04:22PM
(#37783824)
In C++ your relational operators can return std::partial_ordering etc which is a bit more semantically meaningful, for the reader and the compiler.
[ Parent
| on HN ]
Re:Safety vs. Performance. A case study of C, C++ and Rust s...
by prosqlinjector on Thursday October 05, 2023 @09:11PM
(#37786166)
Agreed. And I think that's a good idea to do. It's still possible to do wrong.