Live data from Hacker News

Rust is Software's Salvation

redox-os.org

11–20 of 182 posts

Re: Rust is Software's Salvation

#11
post #7
post #4

> Better performance than C That's a bold, yet generalized statement.

And, from most indications, incorrect. I think it's beat one C program on Alloth's benchmark game in processing time, but has been beat in the others. It performs on par with C++, on the other hand, for what that's worth.

Interesting reading in this area in case anyone missed it: https://news.ycombinator.com/item?id=13268051

Re: Rust is Software's Salvation

#12
post #5

The best defense is a good offense. What is scaring all of the Rust developers and users so badly that they feel the need to go on such an offensive hype campaign? It's worse than the phase Java went through when it hit its peak. I'll be honest. Until we start seeing some more balanced (frankly, I'd settle for nuanced) discussion about the compromises made to get Rust's strengths, I'm staying the hell away from it.

>"Until we start seeing some more balanced (frankly, I'd settle for nuanced) discussion about the compromises made to get Rust's strengths, I'm staying the hell away from it."

Look into the issues surrounding the borrow checker, that's one of Rust's main pain points. Long compilation times are another common issue.

To Rust fans, I realise both of those issues will be addressed to some degree as MIR matures, but I'm looking for flaws as things stand now.

Re: Rust is Software's Salvation

#13
post #5

The best defense is a good offense. What is scaring all of the Rust developers and users so badly that they feel the need to go on such an offensive hype campaign? It's worse than the phase Java went through when it hit its peak. I'll be honest. Until we start seeing some more balanced (frankly, I'd settle for nuanced) discussion about the compromises made to get Rust's strengths, I'm staying the hell away from it.

Not sure why marketing Rust implies that the community is trying to defend it. Honestly, I enjoy sharing with my experience with Rust because I personally enjoy writing in code with Rust and want to share that with others! Nobody is saying Rust is perfect or doesn't have tradeoffs.

> Nobody is saying Rust is perfect

Err, the title of this article is "Rust is Software's Salvation". The previous one was "Rust is mostly safety". No discussion of trade offs, no negatives to be found. From the original article: "[Rust is] Technology from the past come to save the future from itself"

> Not sure why marketing Rust implies that the community is trying to defend it

The original article was a call for marketing material, because they don't feel enough people are using it. Those people are, to paraphrase the sentiment from the comments in the first article, wrong for thinking they write safe C or C++ code.

Re: Rust is Software's Salvation

#14
That's a lot of hype.

I don't hate C, like some here, but I am receptive to the many objections to it: it makes a lot of sense.

But I would be a lot more receptive to this particular attack on C (which is pretty reasonable) if it wasn't so melodramatic: claiming that Rust will "save software" and that C is some kind of garbage with no advantages of any sort. Both are false (although the latter has some truth to it: C has many issues).

The truth is strongly in your favour: No need to stretch it.

Re: Rust is Software's Salvation

#15
Rust is an overly complicated language that made the exact same deadly mistakes that c++ made: takes too long to compile and is too complex. Yes I get it, you're working on the compile times. You will never bring them down to under 1 second regardless of amount of libraries used, let's just say this once and for all. I add two crates 'hyper' and 'postgres-rs' in a 500 line(!!!) program and it's STILL a 2.8 second compile time. Imagine if I actually use Rust for real software and have 500k lines of code. I'm putting my hopes on Jonathan Blow's Jai language.

Re: Rust is Software's Salvation

#16

The amount of hype Rust is getting is not going to end well for Rust. This reminds me of Ruby during 2007-2010 where it went from Patron Saint to Scapegoat for every startup that failed using it. Ruby survived it, and I'm sure Rust will too, but that doesn't make it obnoxious for everyone else who inevitably gets swept up in the craze and crash. Programming is hard. Programming will always be hard. Better/newer tools…

I agree. C is fast because it can be unsafe. Skip all the safety checks and run like hell (if you need or want to). We don't care what size that array is, we just want to go really fast. Safety checks come with a performance cost. Rust claims to be faster than C and safer than C at the same time. That's not possible.

Re: Rust is Software's Salvation

#18
post #5

The best defense is a good offense. What is scaring all of the Rust developers and users so badly that they feel the need to go on such an offensive hype campaign? It's worse than the phase Java went through when it hit its peak. I'll be honest. Until we start seeing some more balanced (frankly, I'd settle for nuanced) discussion about the compromises made to get Rust's strengths, I'm staying the hell away from it.

>"Until we start seeing some more balanced (frankly, I'd settle for nuanced) discussion about the compromises made to get Rust's strengths, I'm staying the hell away from it." Look into the issues surrounding the borrow checker, that's one of Rust's main pain points. Long compilation times are another common issue. To Rust fans, I realise both of those issues will be addressed to some degree as MIR matures, but I'm l…

Could you please tell more about borrow checker issues?

Re: Rust is Software's Salvation

#19
post #5

The best defense is a good offense. What is scaring all of the Rust developers and users so badly that they feel the need to go on such an offensive hype campaign? It's worse than the phase Java went through when it hit its peak. I'll be honest. Until we start seeing some more balanced (frankly, I'd settle for nuanced) discussion about the compromises made to get Rust's strengths, I'm staying the hell away from it.

>It's worse than the phase Java went through when it hit its peak.

As a person who lived through the 1990s Java hype and had a bookshelf full of the official Java books (Addison-Wesley white books)[1], the Rust evangelism is nowhere near that level.

To refresh the memory, 1990s Java evangelists predicted:

1) C/C++ would become obsolete because in the age of abundant desktop resources (cpu power and more RAM), the GC would take care of all that

2) Java's "write-once-run-anywhere" JVM would render the Windows operating system obsolete and weaken the evil Microsoft

3) Java applets so you could create rich dynamic websites in the browser

As we now know, none of that actually happened. Java is still a success but it couldn't match the breathless press it initially received.

Yes, this particular Rust blog promising "salvation" seems to defy Fred Brook's more conservative "no silver bullet".[2] But relatively speaking, Rust's enthusiastic community is fairly tame.

[1] http://imgur.com/a/8gLe4

[2] https://en.wikipedia.org/wiki/No_Silver_Bullet

Post reply on HN