News for hackers. Stuff that matters.
Re:C and C++ Prioritize Performance over Correctness by alphanullmeric on Friday August 18, 2023 @05:18PM (#37182267)
Like I said, this argument doesn’t work because you can use options in c++ but you can’t use exceptions in rust. So when there’s an occasion where you want to avoid the overhead of an option or result in rust - well too bad.
Re:C and C++ Prioritize Performance over Correctness by dureuill on Sunday August 20, 2023 @04:24AM (#37197197)
Yes you can. They're called panics