9 ms·
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 campai
by falcolas 10y ago
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.
- cbrewster 10y agoNot 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.
- falcolas 10y ago> 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.
- verletx64 10y agoHang on. The original article that kicked off the 'Rust is mostly safety' article was a call for a change in the marketing material[1], away from the 'Rust is safe' narrative. It's not an attractive narrative (IMO) and the point that Klabnik was making was that Rust is more than 'just' safety. 'Rust is mostly Safety' was written in a sense disagreeing (depends on your interpretation) with Klabnik's article that Rust is much more than safety. Now, yes, these posts (namely the 'Rust is more than safety' and 'Rust is mostly safety' are not discussing the negatives of rust, absolutely, but it's not the scope of the posts to do so, it's not what that particular discussion is about and they should be exempted from this broad brush. You've taken a quote from the Klabnik post, which is itself quoted from an initial release announcement, which is basically guaranteed to be a spot of marketing. As always, there is a time and a place for the discussion of trade offs and negatives. A release announcement is not the place for this. Nor is a discussion of changing the tone of the marketing of the language. Now, finally turning my attention to the article in the post...well, that strikes me as a place to discuss some negatives. I am not super comfortable with basically listing all the cons of C and well, not even discussing the pros of Rust but presenting it as a panacea. I think it doesn't quite hit the point of Klabnik's article which to me was more about stopping marketing based on what Rust stops you from doing and marketing Rust more on what it lets you do. [1] http://words.steveklabnik.com/rust-is-more-than-safety http://words.steveklabnik.com/rust-is-more-than-safety
- jdright 10y agoAnd this is getting nauseating even to these wanting to give it a try. I'm in the step of walking away and forget about it until the dirt settles down (and it becomes at least as fast as C/C++ or... even Go)
- steveklabnik 10y agoIn general, if Rust is significantly slower than equivalent C or C++, that's a bug. We track them. Please file them. Rust should be roughly the same, speed-wise.
- mmstick 10y agoI was competing against some C and C++ software developers in Advent of Code with efficient solutions, and my Rust solutions came out faster each time. Might want to check your facts.
- jdright 10y agoThat doesnt mean anything. Try a little real software for instance.
- burntsushi 10y agoLike ripgrep?
- jdright 10y agoQuestion, grep is multi-threaded?
- burntsushi 10y agoGNU grep is not multi-threaded. Since you chose to be cute, I'm going to take a guess that you think this means the comparison between the tools is unfair. If that's an accurate interpretation, then I will say that your question is irrelevant because ripgrep is faster or as fast as GNU grep on benchmarks using a single thread too. In fact, that's the whole point! It says so right in the project's README. http://blog.burntsushi.net/ripgrep/#single-file-benchmarks http://blog.burntsushi.net/ripgrep/#single-file-benchmarks
- steveklabnik 10y ago> The original article was a call for marketing material, because they don't feel enough people are using it. This is absolutely not true. I would love for Rust to have more users, but that's because I love Rust, and want to share that with people. But really, just like we try to make software better, I'm interested in how to make our pitch better. You would think Hacker News, of all places, would understand that.
- ZenoArrow 10y ago>"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.
- EugeneOZ 10y agoCould you please tell more about borrow checker issues?
- ZenoArrow 10y agohttp://softwaremaniacs.org/blog/2016/02/12/ownership-borrowing-hard/en/ http://softwaremaniacs.org/blog/2016/02/12/ownership-borrowi...
- EugeneOZ 10y agoQuote: "Rust's borrow checker is a wonderful thing that forces you into designing code to be more robust. But as it is so unlike anything you're used to, it takes time to develop a certain knack to work with it efficiently." I don't think it's description of an issue.
- jasode 10y ago>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 http://imgur.com/a/8gLe4 [2] https://en.wikipedia.org/wiki/No_Silver_Bullet https://en.wikipedia.org/wiki/No_Silver_Bullet
- pjmlp 10y agoMany of those failures were more political than technical. For example, the internal wars between Windows and DevTools divisions at MSFT, were the biggest reason for Longhorn's failure. MSR with Midori has proven the viability of using C# for systems programming, when no politics are in play and everyone is focused on technical improvements.
- agumonkey 10y agoHas Longhorn failure been documented publicly ? I'd love to read about it in details.
- pjmlp 10y agoYes, kind of. This is my personal view of the matter, based on MS blogs, talks, papers and how their technology has been presented to those more MS savy. https://news.ycombinator.com/item?id=11828585 https://news.ycombinator.com/item?id=11828585 If you follow the OP of the comment there is another view being presented. There are lots of conspiracy theories about what went wrong, regardless how much truth each one has, the real matter is that politics played a bigger role than technical issues.
- EugeneOZ 10y agonothing is scaring me as a programmer who use Rust, but I wish to see in such debates more people who at least tried to use Rust more than 2 months, before arguing :) And I just hope this "week of Rust" on HN will attract more people to try Rust. We have cookies and community is very friendly - welcome!
- bitwize 10y agoHow about the fact that the vast bulk of machine-level software is written in C and therefore, by definition, unsafe? That scary enough for ya?
- eridius 10y agoWhat scares Rust developers and users so badly is the incredible amount of wildly unsafe software that already exists, and all the new wildly unsafe software being written. > 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. If all you see about Rust is what hits Hacker News, you're probably not going to see much of that. The narrative about Rust's safety and the terrible state of software engineering today and dangers of all of the existing C and C++ code is a strong one that resonates with a lot of people, and so posts about that are likely to be voted up on HN. Posts about how Rust isn't a perfect language and has some flaws, well, maybe not so interesting, because every language has flaws, so there's nothing all that noteworthy there. Also, FWIW, the post you're commenting on is written by someone who believes what they're saying in the post so strongly that they're writing an entire unix-like OS, including kernel and applications, in Rust. So it's no surprise that they're talking about what excites them about Rust and why they're using it to write a whole OS, rather than any flaws it might have.