4 ms·
It might prevent 70%[0] or so of exploitable bugs. Which is better than C++, which, after almost 40 years of effort, continues to be the source of most of that
by marcus0x62 2y ago
It might prevent 70%[0] or so of exploitable bugs. Which is better than C++, which, after almost 40 years of effort, continues to be the source of most of that 70% in the first place.
0 - https://www.zdnet.com/article/microsoft-70-percent-of-all-security-bugs-are-memory-safety-issues/ https://www.zdnet.com/article/microsoft-70-percent-of-all-se...
- Xeamek 2y agoThat's really great that you are quoting a generalized stat, but we are taking about browsers here, which are inherently runtimes allowing anyone to run anycode they want. Just saying 'c++ bad' isn't really a serious analysis...
- timeon 2y agoAre you suggesting that decreasing surface area is not worth it?
- marcus0x62 2y agoSaying that super complex C++ code bases are less exposed to memory safety issues is what is not a serious argument. Have a nice day. Edit: here's a report from the Chromium team, if that makes you feel any better. It reports similar figures. https://www.chromium.org/Home/chromium-security/memory-safety/ https://www.chromium.org/Home/chromium-security/memory-safet...