News for hackers. Stuff that matters.
Re:Ask HN: Will Rust replace C/C++? What's holding it back? ... by eridius on Thursday November 22, 2018 @01:55AM (#18508353)
Rust’s solution to concurrency is a hell of a lot more than just solving memory management. As long as you avoid `unsafe`, Rust statically prevents all race conditions. Rust also makes it so if you can parallelize something, then you’ve proven that it’s safe to parallelize it, and therefore you can parallelize complex systems in Rust that you simply wouldn’t have the confidence to do with other languages.
Re:Ask HN: Will Rust replace C/C++? What's holding it back? ... by steveklabnik on Thursday November 22, 2018 @04:13AM (#18508844)
Rust prevents data races, not race conditions.
Re:Ask HN: Will Rust replace C/C++? What's holding it back? ... by eridius on Friday November 23, 2018 @01:40AM (#18514790)
You're absolutely right, I meant to write "data races" there.