News for hackers. Stuff that matters.
Re:C and C++ Prioritize Performance over Correctness by kaba0 on Saturday August 19, 2023 @01:55AM (#37185950)
So what about multithreaded code with potential race conditions that result in memory errors sometimes. Valgrind already only able to test the actually ran code paths, let alone find race condition-y bugs.

Also, this elitist notion of raising the bar is an instant “turnoff” for me, with all due respect, I can only assume from that that the given person may not be as much an expert as they think of themselves. Not saying that it applies to you as well, but you don’t leave me much other choice.

Re:C and C++ Prioritize Performance over Correctness by lenkite on Saturday August 19, 2023 @03:08AM (#37186322)
Memory safe - I will give you that. All the guarantees you listed are fine for synchronous Rust. But race conditions and deadlocks are not unknown in async Rust. Lots of race condition issues in tokio - including issues where futures leak.
Re:C and C++ Prioritize Performance over Correctness by kaba0 on Saturday August 19, 2023 @03:40AM (#37186472)
That’s true, and usually I am the one pointing this out, that Rust is only data race free :D thanks for the pointer!