News for hackers. Stuff that matters.
Re:Safety vs. Performance. A case study of C, C++ and Rust s... by itishappy on Friday October 06, 2023 @01:43AM (#37787449)
Right, but restricting the domain to just the list you're already enumerating makes things easier.
Re:Safety vs. Performance. A case study of C, C++ and Rust s... by prosqlinjector on Friday October 06, 2023 @01:24PM (#37793510)
Yep, so now your sort function isn't just a sort. It's a sort with a unit test at the beginning. This burden is placed on EVERY use.