4 ms·
> Here's your hard slap in your face. Not really. I said 'reduce or possibly eliminate'. I already entertained the fact that even Rust has bugs. But I can't se
by rvz 7y ago
> Here's your hard slap in your face.
Not really. I said 'reduce or possibly eliminate'. I already entertained the fact that even Rust has bugs. But I can't see how one example of a documented Rust vulnerability which even requires a tricky exploit chain in practice, would change my mind given the tens of thousands of memory corruption CVEs in C/C++ software. The effectiveness of Rust's claims to 'reduce' these cases of memory corruption vulnerabilities have been proven over the years.
Rust is no doubt already being tested with confidence in production by many companies for years, making it possible to compliment or replace C/C++ based programs. You too are more than welcome to change my mind. :)
- simion314 7y agoYou are comparing the number of CVEs in hundreds or thousands of low level code vs a few Rust libraries , you might want to wait until you have a few popular OSs, full browsers,drivers ,VMs made from scratch with Rust then compare or do a fair one to one comparisons. Just wanted to let you know that your comment feels very misleading because you present the large number of bugs in say web browsers and contrast it with no Rust bugs in web browsers because nobody uses a Rust browser(I know Firefox has some parts in Rust but those parts are new so you can't compare it with years old code that had time to accumulate bugs and people to find them)
- anthk 7y agoThis. Let's see is Mozilla rebases the entire browser in Rust except some dependencies on FreeType and MESA and let's see how many bugs do rise. If Chrome did the same shit would happen, it's 20x more code in Chrom{e,ium} than the OpenBSD base with LLVM.
- saagarjha 7y agoProbably significantly fewer memory corruption vulnerabilities.
- anthk 7y agoThen let's solve how Rust will save us from wasm running at full speed.
- saagarjha 7y agoI’m having difficulty understanding your comment. Would you mind expanding on it? What’s the concern here?
- simion314 7y agoLet's wait and see how "significant" will it be.
- pjmlp 7y agoEasy, according to Microsoft and Google security reports on C related memory corruption exploits, 68% less. Applies to any memory safe programming language, not only Rust.
- steveklabnik 7y agoThe Microsoft report wasn't organized by language, it was organized by vulnerability class. It was memory unsafety, across projects, not C specifically.
- deleted 7y ago[deleted]