TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Rust is Software's Salvation

128 pointsby k4rtikover 8 years ago

17 comments

rubiquityover 8 years ago
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&#x27;m sure Rust will too, but that doesn&#x27;t make it obnoxious for everyone else who inevitably gets swept up in the craze and crash.<p>Programming is hard. Programming will always be hard. Better&#x2F;newer tools (and sometimes influences from the old finally making it mainstream, like Standard ML) make programming easier but not fool proof. It&#x27;s misleading and harmful to hype the crap out of any language.<p>Unfortunately this stupidity is never going to end as long as language creators measure language success in adoption numbers and TIOBE scores rather than the warm fuzzy feeling of handling certain people&#x27;s needs really, really well.
评论 #13281158 未加载
评论 #13281245 未加载
评论 #13281143 未加载
评论 #13283314 未加载
评论 #13281343 未加载
评论 #13281102 未加载
评论 #13281223 未加载
评论 #13281061 未加载
youdontknowthoover 8 years ago
Captain Obvious here with a public service announcement:<p>Rust&#x27;s safety guarantees dont extend to logic or protocol implementation problems or misconfigured security settings.the part of the article about service providers leaking creds or other info...Rust all the things and that will still happen.<p>Some of this stuff is just too much. Also, why not work on lifetime and memory safety in a c based language? Rust looks like Klingon to me. functional-ish-ness is really hot right now. (Like Hansel.)<p>There&#x27;s this really sophomoric theme that this seems to be a part of that keeps resurfacing here. its almost like a conspiracy of influences made the wrong tech choice in the past and everything would be ok now if we used X. Where X could be haskell, rust, os2, plan 9, lisp, lisp, lisp, go...theres quite a few saviors out there they resurface every now and again.
评论 #13281264 未加载
评论 #13282300 未加载
评论 #13281164 未加载
falcolasover 8 years 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?<p>It&#x27;s worse than the phase Java went through when it hit its peak.<p>I&#x27;ll be honest. Until we start seeing some more balanced (frankly, I&#x27;d settle for nuanced) discussion about the compromises made to get Rust&#x27;s strengths, I&#x27;m staying the hell away from it.
评论 #13281069 未加载
评论 #13281225 未加载
评论 #13280901 未加载
评论 #13280969 未加载
评论 #13281109 未加载
评论 #13281103 未加载
hubert123over 8 years ago
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&#x27;re working on the compile times. You will never bring them down to under 1 second regardless of amount of libraries used, let&#x27;s just say this once and for all. I add two crates &#x27;hyper&#x27; and &#x27;postgres-rs&#x27; in a 500 line(!!!) program and it&#x27;s STILL a 2.8 second compile time. Imagine if I actually use Rust for real software and have 500k lines of code. I&#x27;m putting my hopes on Jonathan Blow&#x27;s Jai language.
评论 #13281201 未加载
pklauslerover 8 years ago
Rust has great potential to be a better tool for C and C++&#x27;s niches, and we&#x27;re all rooting for it, but for those tasks where a type-safe GC&#x27;d pure functional language can be used, well, they still should be.
Thaxllover 8 years ago
The reality is Rust will never be mainstream because 95% of the dev use php &#x2F; ruby &#x2F; python &#x2F; java &#x2F; c# and Rust is far too complicated to switch from those. That&#x27;s where imo Go will prevail, it&#x27;s a simpler language that is easy to use &#x2F; learn.
评论 #13281278 未加载
评论 #13281542 未加载
评论 #13283399 未加载
rl3over 8 years ago
&gt;<i>Better performance than C</i><p>That&#x27;s a bold, yet generalized statement.
评论 #13280899 未加载
评论 #13281483 未加载
Asdfblaover 8 years ago
I expect the rebuttal &quot;Rust is Software&#x27;s Doom&quot; soon.
评论 #13282010 未加载
评论 #13281082 未加载
qwertyuiop924over 8 years ago
That&#x27;s a lot of hype.<p>I don&#x27;t hate C, like some here, but I am receptive to the many objections to it: it makes a lot of sense.<p>But I would be a lot more receptive to this particular attack on C (which is pretty reasonable) if it wasn&#x27;t so melodramatic: claiming that Rust will &quot;save software&quot; 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).<p>The truth is strongly in your favour: No need to stretch it.
kevlar1818over 8 years ago
&gt; A world where complete system crashes in software are as rare as car crashes<p>A hilariously wrong&#x2F;misleading analogy in an otherwise compelling and agreeable blog post.
copperxover 8 years ago
How fast we forget Brooks. There is no silver bullet.
评论 #13281256 未加载
评论 #13280928 未加载
vatotemkingover 8 years ago
Even Rust folks disagree with the title of the post: <a href="https:&#x2F;&#x2F;www.reddit.com&#x2F;r&#x2F;rust&#x2F;comments&#x2F;5kytg5&#x2F;rust_is_softwares_salvation&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.reddit.com&#x2F;r&#x2F;rust&#x2F;comments&#x2F;5kytg5&#x2F;rust_is_softwa...</a>
jstewartmobileover 8 years ago
This may be wishful thinking, but to echo Alan Kay, I have been hoping that with the stalling of Moore&#x27;s law we&#x27;d start being a little more thoughtful about the instruction set architecture (like the B5000) so that we can do safe and performant things in higher-level languages.<p>I like Rust. I just don&#x27;t think doing things in a better C than C is going to yield as much of a payoff as these guys think it will.
评论 #13282021 未加载
Taniwhaover 8 years ago
All of us who get the compiler writing bug make a toy language or two, I know I did, way more than two, usually it was taking some great idea and running with it .... there is a basic problem that there&#x27;s a lot more aspiring compiler writers than there is public mindshare for learning new languages .... for every new language you see blooming there&#x27;s 20 that didn&#x27;t get the attention to get more than 2 adherents, and for every adopted language being commonly used there&#x27;s another 10 of those new blooming languages that will blaze and die .... only to have its one great idea find its way into C++ 5 years from now.<p>I don&#x27;t write new languages any more, I figured this out 20 years ago, it&#x27;s something that is very very hard to suceed at, and rather a crap shoot.<p>The same goes for OSs.<p>Oh, and BTW, functional languages, the very best thing since sliced bread, for, what? the third time around now?
AnimalMuppetover 8 years ago
&gt; Better concurrency than C++<p>That&#x27;s... not saying all that much.<p>&gt; Better performance than C<p>In 2014? Objection, your honor. Assumes facts not in evidence.<p>About problems with C:<p>&gt; Maybe a bug in GCC outputted the wrong machine code<p>And Rust compilers will never have bugs?<p>&gt; Maybe a race condition in Linux gave an unprivileged process the ability to tamper with your program<p>And writing your program in Rust is going to save you? Nope.<p>Now, in the previous two points, the claim may be that GCC&#x2F;Linux is written in C, rather than that my program is written in C. But a compiler written in Rust can still output the wrong machine code, and the borrow checker won&#x27;t save you.
Dowwieover 8 years ago
&quot;better documentation than Python&quot; -- those are fighting words!
kazinatorover 8 years ago
<i>&gt; Problems with C:<p>&gt; [ ... ]<p>&gt; Maybe a bug in GCC outputted [sic] the wrong machine code</i><p>How does Rust protect against a bug in Rust outputting the wrong machine code?<p>&gt; <i>Maybe a race condition in Linux gave an unprivileged process the ability to tamper with your program</i><p>Too bad the race-condition free Rust OS that can replace Linux isn&#x27;t here yet.
评论 #13282616 未加载