Re:IncludeOS: a minimal unikernel operating system for C++ s...
by simion314 on Sunday December 29, 2019 @12:39PM
(#21907198)
You 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)
Re:IncludeOS: a minimal unikernel operating system for C++ s...
by anthk on Monday December 30, 2019 @02:45AM
(#21911550)
This. 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.
Re:IncludeOS: a minimal unikernel operating system for C++ s...
by saagarjha on Monday December 30, 2019 @03:58AM
(#21911897)
Probably significantly fewer memory corruption vulnerabilities.
Re:IncludeOS: a minimal unikernel operating system for C++ s...
by simion314 on Monday December 30, 2019 @11:43AM
(#21914598)
Let's wait and see how "significant" will it be.
Re:IncludeOS: a minimal unikernel operating system for C++ s...
by pjmlp on Tuesday December 31, 2019 @08:25AM
(#21920828)
Easy, 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.
Re:IncludeOS: a minimal unikernel operating system for C++ s...
by steveklabnik on Tuesday December 31, 2019 @10:15AM
(#21921477)
The Microsoft report wasn't organized by language, it was organized by vulnerability class. It was memory unsafety, across projects, not C specifically.
Re:IncludeOS: a minimal unikernel operating system for C++ s...
by anthk on Monday December 30, 2019 @04:16AM
(#21912002)
Then let's solve how Rust will save us from wasm running at full speed.
Re:IncludeOS: a minimal unikernel operating system for C++ s...
by saagarjha on Monday December 30, 2019 @04:21AM
(#21912035)
I’m having difficulty understanding your comment. Would you mind expanding on it? What’s the concern here?
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. :)