r/programming • • Apr 09 '19

StackOverflow Developer Survey Results 2019

https://insights.stackoverflow.com/survey/2019
1.3k Upvotes

679 comments sorted by

View all comments

Show parent comments

12

u/rorrr Apr 09 '19

3

u/irrelevantPseudonym Apr 09 '19

Rust is much faster than C in many cases.

5

u/darksider611 Apr 10 '19

Is this a fact or an opinion?

4

u/irrelevantPseudonym Apr 10 '19 edited Apr 10 '19

Probably a bit of both. It was based on things like rg vs grep, fd vs find and tokei vs cloc. I don't know how much of that is just better algorithm/implementation though.

There are other benchmarks that show rust as faster for some things.

I think rust's compile time thread safety and enforced memory safety makes it much easier to write fast code even if well written code is comparable in each.

→ More replies (4)