3 ms·
> What kind of statistics? Can you give any links that support what you wrote? Why yes, I can! https://bugzilla.mozilla.org/buglist.cgi?o5=substring&o13=subst
by pcwalton 11y ago
> What kind of statistics? Can you give any links that support what you wrote?
Why yes, I can!
https://bugzilla.mozilla.org/buglist.cgi?o5=substring&o13=substring&v26=free&v27=free&f26=status_whiteboard&v25=free&o14=substring&o16=substring&f13=component&o2=substring&f28=CP&f23=component&j11=OR&f29=CP&v5=use&o15=substring&f12=product&f25=short_desc&v24=free&o4=substring&f27=cf_crash_signature&o12=substring&f14=alias&o17=substring&f24=alias&v2=use&f21=OP&v13=after&v16=after&v4=use&f10=OP&f19=CP&v15=after&f22=product&f1=OP&o7=substring&v6=use&o3=substring&o26=substring&f20=OP&f8=CP&f0=OP&o25=substring&v3=use&o24=substring&f18=CP&j21=OR&f15=short_desc&o6=substring&f9=CP&v7=use&f4=alias&o23=substring&query_format=advanced&v23=free&j1=OR&f3=component&v17=after&f2=product&v12=after&f11=OP&bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&bug_status=RESOLVED&bug_status=VERIFIED&bug_status=CLOSED&f5=short_desc&f17=cf_crash_signature&o22=substring&v14=after&f6=status_whiteboard&f7=cf_crash_signature&v22=free&o27=substring&f16=status_whiteboard https://bugzilla.mozilla.org/buglist.cgi?o5=substring&o13=su...
Before you object, this is largely modern C++.
> You could use static analyzer and would avoid most of the problems.
> EDIT: My point is that i have nothing to gain from rust when knowing c++ and memory management rules + i got good static analyzer. But probably for someone that do not know C++ at all Rust could be a better choice.
Yes, you do. Empirically, programmers consistently make the same game-over mistakes in C++ over and over again.
- lossolo 11y agoEvery large code base in history of the world has bugs, doesn't matter which language. What you provided proves nothing. I don't know what kind of "programmers" you are talking about maybe some from mozilla (they are known for making same shitty mistakes over and over again, i will not mention exploits over the years in firefox, breach into unfixed bug/exploit internal system etc.) but i know programmers that can write good C++ without making any memory problems and Rust has nothing to offer for them. You are just biased.
- the_why_of_y 11y agoOf course every large code base has bugs, that's why we should be very concerned about what the consequences of such bugs are for users. Please see my reply in the other sub-thread about very similar story of exploitable memory safety bugs in Google Chrome fixed in every release; do you want to continue your line of argument with a claim that Chromium developers are all incompetent too?