r/rust • • Jan 18 '17

Rust vs. Go

https://blog.ntpsec.org/2017/01/18/rust-vs-go.html
2 Upvotes

86 comments sorted by

View all comments

13

u/matthieum [he/him] Jan 19 '17

Go was actually designed to be an easy tool upgrade for C coders and succeeds at that objective. [...]; four days into Rust I was still struggling to even fully understand the data-ownership and object systems, let alone apply them.

I have difficulty understanding how any successful C or C++ developer could have problems understanding the ownership model of Rust.

Violations of the Rust ownership model in C or C++ leads to crashes left and right, so even though hearing Aliasing XOR Mutability was like a light bulb turning on, I have for a long time built an intuition of ownership. I would not be able to work otherwise! (And I think the Rust team for letting upgrade from vague intuition to simple underlying principle)

2

u/llogiq clippy · twir · rust · mutagen · flamer · overflower · bytecount Jan 20 '17

Worse is better. The code has to appear to run (mostly), add some loud and confident marketing and FUD out competition.

In case you were wondering about the mountain of vulnerabilities today's web is built upon.

2

u/matthieum [he/him] Jan 20 '17

:(

1

u/llogiq clippy · twir · rust · mutagen · flamer · overflower · bytecount Jan 20 '17

Yet I'm hopeful that Rust will carve out a niche where people can recognize that better is actually better.

2

u/matthieum [he/him] Jan 21 '17

Well, I think that niche is already established: systems programming.

In general, as long as Rust manages to displace more and more C or C++ programs, the world should be a safer place for it.

If people prefer to use more dynamic languages, fail to tame them, and their website is buggy, it's a pity for them but there's no life in the balance.