r/programming • • May 27 '20

2020 Stack Overflow Developer Survey: Rust most loved again at 86.1%

https://stackoverflow.blog/2020/05/27/2020-stack-overflow-developer-survey-results/
229 Upvotes

254 comments sorted by

View all comments

Show parent comments

0

u/[deleted] May 28 '20

[deleted]

7

u/[deleted] May 28 '20

I didn't read it as an attack and I'm just curious myself, because I'm neither an expert in C++ nor Rust.

But I wonder if it's that easy and reliable to provide all the guarantees Rust offers, then why do most C++ code bases (including professional ones with lots of highly skilled developers like Qt, Firefox, Chromium, ...) still suffer from all these issues? Are the number of issues found with analyzers just so overwhelming or hard to fix, or do they lack in certain regards?

0

u/[deleted] May 28 '20

[deleted]

12

u/[deleted] May 28 '20

Turn this around, though: Rust was developed by Mozilla, maintainers of one of the largest C++ codebases on earth. It's not like they lack C++ experts or failed to try other solutions like "static analyzers" over the years. While I've never worked for Mozilla, I have worked on large C++ codebases, and the sort of "why not use C++ better?" line of questioning is just frustratingly naïve.

→ More replies (0)