Hacker News new | ask | show | jobs
by deeviant 1849 days ago
> but I suspect the real reason people built high quality software in Rust is because cargo is good

Do we actually have factual evidence that people do write high quality software in Rust.

Something showing the average rust program is "higher quality" than the average C++ program?

4 comments

It's way too hard to build evidence for something like that. Virtually all research into PL effectiveness ends up not account for the absurd number of variables.
One metric might be how long it takes a developer to build it from scratch given all the esoteric builds in C/C++ land. Another might be lines per cve in a given language. Another still might be time to fix cves per language.

I'm thinking rust would come out on top of those, but would be interesting to measure!

How does one objectively measure quality in a way that isn't dependent on the specific goals the program is trying to accomplish?
It's unlikely that this evidence exists, and if the 'clone everything to get past the borrow checker' attitude is commonplace then we get stuck on what 'high quality' means.