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.

Announcing Rust 1.0

1363 pointsby jhundabout 10 years ago

51 comments

kibwenabout 10 years ago
I would like to take this opportunity to formally apologize to the HN community for that time back in early 2012 when I predicted that Rust 1.0 would be released &quot;in about six months or so&quot;, and later proceeded to proudly proclaim that 0.4 would be the last release with major breaking changes to the syntax. I hope you all can find it in your hearts to forgive me. :) But at long last, we did it, and it&#x27;s almost too good to believe.<p>But as much work as it&#x27;s been just to get to this point, the real struggle begins today. Months and years of brutal campaigning, compiler engineering, and careful language design lie ahead. If you&#x27;ve yet to take a look at Rust, please do, and report your findings so that we can better prioritize our efforts for the near future. If you like what you see, there&#x27;s plenty of work to go around and a welcoming community should you decide to dig in and join us. And if you don&#x27;t like what you see, that&#x27;s fine too; Rust is not the language to end all languages! We&#x27;re just here to make the world a little safer, however we can. Hopefully today is but the first page in that story. :)
评论 #9553172 未加载
评论 #9552329 未加载
评论 #9552962 未加载
评论 #9552479 未加载
评论 #9552278 未加载
评论 #9553588 未加载
评论 #9552591 未加载
评论 #9554890 未加载
评论 #9552812 未加载
评论 #9553152 未加载
评论 #9552871 未加载
评论 #9552967 未加载
azdleabout 10 years ago
For anyone that hasn&#x27;t played around with rust yet, this is why I&#x27;m excited about rust: <a href="https:&#x2F;&#x2F;github.com&#x2F;Azdle&#x2F;hello-gtk.rs&#x2F;blob&#x2F;master&#x2F;src&#x2F;main.rs" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;Azdle&#x2F;hello-gtk.rs&#x2F;blob&#x2F;master&#x2F;src&#x2F;main.r...</a><p>That is a GTK GUI application that makes HTTP requests in under 40 lines of code.<p>Don&#x27;t get me wrong I love all the safety gaurentes and what not, but just being able to write quick simple apps that would usually be a pain to write in C is a game changer for me. A lot of this is down to Cargo (the Rust package manager, very npm-like imo) and all the great rust libraries that already exist. I&#x27;m super excited to see where this goes now that it&#x27;s 1.0, people can stop worrying about breaking changes in the language and just get down to writing libraries to do everything.
评论 #9553608 未加载
评论 #9552975 未加载
评论 #9553449 未加载
评论 #9554223 未加载
przemocabout 10 years ago
Now that Rust reached v1.0, I may finally look into it without the fear of wasting time to learn stuff that will change within next months. (It&#x27;s quite sad, though, that recently released Debian Jessie won&#x27;t have it in its main repositories.)<p>Allow me to ask some questions, because I cannot easily find the answers and they&#x27;re IMHO crucial for wider Rust adoption:<p>1. What CPU architectures&#x2F;platforms Rust currently supports?<p>2. What&#x27;s the state of cross-compilation support?<p>Most of devs have workstation on i386&#x2F;amd64, but some of us may work with ARM, PowerPC and other architectures. Rust&#x27;s memory safety seems appealing for embedded solutions, but can it be used there already?<p>BTW The install page is not well-thought-out.<p><a href="http:&#x2F;&#x2F;www.rust-lang.org&#x2F;install.html" rel="nofollow">http:&#x2F;&#x2F;www.rust-lang.org&#x2F;install.html</a><p>Unless I hover on the 32-bit&#x2F;64-bit links and read addresses they point to, there&#x27;s no way to tell whether it&#x27;s for x86 or ARM for instance. And installation via piping script that is being downloaded to shell is something that shouldn&#x27;t be present at all.
评论 #9552542 未加载
评论 #9552836 未加载
steveklabnikabout 10 years ago
Thank you so much to all of our community and contributors. It&#x27;s been a long time coming, but I&#x27;m really proud of what we&#x27;ve done together.<p>I&#x27;m finally going to get some real sleep tonight, I think.
评论 #9552026 未加载
iagooarabout 10 years ago
This is so huge!<p>Rust is going to be the first time I am going to learn a programming language from the day it is born (until now it was tough to learn Rust, given the changing APIs ;).<p>I see a bright future for Rust. Thanks to Mozilla and the whole community for making it possible.
评论 #9552482 未加载
atonseabout 10 years ago
Congrats to the team and thanks for your hard work! I&#x27;m not a Rust developer but it&#x27;s definitely piqued my interest in doing more native development without being afraid of introducing buffer overflows and other security exploits.
Arnorabout 10 years ago
Awesome! I assume you intentionally released this on a Friday just to eat up everyone&#x27;s weekends :) Thanks for the hard work. As I dig in, I&#x27;m hoping that Rust will fit in the &quot;useful and safe&quot; sweet spot in Simon Peyton Jones&#x27;s diagram here: <a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=iSmkqocn0oQ" rel="nofollow">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=iSmkqocn0oQ</a>
评论 #9552163 未加载
评论 #9555152 未加载
apaprockiabout 10 years ago
If you haven&#x27;t played with Rust yet and are looking for some puzzles to help motivate you to learn, we&#x27;ve updated our Bloomberg CodeCon[1] site to support Rust 1.0. You can login and click the &quot;Challenger Series&quot; to get 17 problems of varying difficulty to solve in Rust.<p>[1] <a href="http:&#x2F;&#x2F;codecon.bloomberg.com&#x2F;" rel="nofollow">http:&#x2F;&#x2F;codecon.bloomberg.com&#x2F;</a>
评论 #9554390 未加载
评论 #9553519 未加载
izolateabout 10 years ago
Well done! I&#x27;m generally against shoehorning languages into environments where they don&#x27;t belong, but I can&#x27;t wait to try using Rust for webdev.
评论 #9552152 未加载
评论 #9553233 未加载
评论 #9552577 未加载
评论 #9552830 未加载
borrowwhatnowabout 10 years ago
Congrats! I&#x27;ve been excited about Rust for a while now, and this gives me a good reason to look into it a bit more. A quick question, though, if it&#x27;s appropriate in this context:<p>It seems to me that the borrow checker disallows behavior that I (perhaps naively) wouldn&#x27;t be concerned about. For example, if I have this C snippet:<p><pre><code> { &#x2F;&#x2F; Safe C int *ptr = NULL; int val = 42; ptr = &amp;val; } </code></pre> Everything is hunky-dory. Translating this to Rust results in this (I think):<p><pre><code> { &#x2F;&#x2F; Malformed Rust let ref: &amp;i32; let val = 42; ref = &amp;val; } </code></pre> Now the borrow checker tells me that &quot;val&quot; doesn&#x27;t live long enough, because the reference comes to life before the value. It seems like this should be safe behavior, because the reference isn&#x27;t bound to the value until after the value comes to life.<p>Can anyone shed some light on this for me? I&#x27;m all for safety, but this in particular seems like something that I should be allowed to do.
评论 #9552720 未加载
评论 #9552671 未加载
评论 #9552668 未加载
评论 #9552650 未加载
评论 #9552672 未加载
评论 #9552711 未加载
exacubeabout 10 years ago
It&#x27;s always exciting reading Rust posts on HN, so very happy about a stable release!!<p>I can&#x27;t help but feel the language has a very steep learning curve, however; doing something like making an event-queue-with-callbacks is very hard to write out in Rust if you&#x27;re a beginner with just the current docs.<p>I think Rust will benefit greatly if their docs compiled some articles on how to write typical systems-related code (for me, I would love to see how to implement task queues with callback mechanisms).
biftekabout 10 years ago
Congrats Rust team, and perfect timing, got some vacation next week and plan to build some things.
BinaryIdiotabout 10 years ago
I thought 1.0 was announced a few weeks ago. Am I going crazy? I mean it&#x27;s awesome news I&#x27;m just confused.<p>Edit: looks like I&#x27;m going crazy. It seemed so vivid too like I actually started checking out the rust documentation and was looking for a book to pick up. Unless everyone is messing with me...
评论 #9552503 未加载
评论 #9552210 未加载
评论 #9552073 未加载
评论 #9552076 未加载
评论 #9552673 未加载
iamthepiemanabout 10 years ago
Thanks so much to everyone who contributed to this milestone. Rust is one of the few pieces of new technology that has made me want to drop everything and dig in to it.<p>It&#x27;s also one of the few open source projects that has actually gotten me to contribute.
SamReidHughesabout 10 years ago
I&#x27;d like to give special thanks to Daniel Micay, whose contributions are a major reason Rust is even remotely tolerable.
verandaguyabout 10 years ago
Awesome! Now to get the STL docs up to speed and fix them up so that they&#x27;re less ambiguous to newcomers!
评论 #9552042 未加载
alfiedotwtfabout 10 years ago
This has to be the fastest post to rise to #1 on HN I&#x27;ve ever seen!
评论 #9552244 未加载
hillsarealiv3about 10 years ago
Is there anywhere I can download a Rust tutorial in kindle format? I&#x27;d like to start learning Rust this weekend.<p>EDIT: To answer my own question: <a href="http:&#x2F;&#x2F;killercup.github.io&#x2F;trpl-ebook&#x2F;" rel="nofollow">http:&#x2F;&#x2F;killercup.github.io&#x2F;trpl-ebook&#x2F;</a>
istvan__about 10 years ago
Good news everyone! :) I really hope this language gets traction.
Animatsabout 10 years ago
Great! I just downloaded and installed it, and my programs still worked!<p>No more &quot;cargo clean; cargo update; cargo build; cargo test;&quot; every day! At last.
评论 #9552410 未加载
blitiabout 10 years ago
Let me begin by saying congratulations to the Rust team and supporting community. I&#x27;ve been following Rust when I realized it would make for a good language to try with robotic controls (due to all the safety stuff). Stupid question time: What does this release mean for the embedded &#x2F; control systems community? Will you be recommending any specific boards &#x2F; micros &#x2F; libraries from now forward? If so, which?
评论 #9553463 未加载
spotmanabout 10 years ago
Very cool. Going to try to learn some basics this weekend! Exciting times watching (from a spectators points of view) the evolution of Rust to this point. Sounds like more exciting times ahead.
dennismpabout 10 years ago
Congrats Rusties. I&#x27;ve just begun playing and it seems worth the time investment.
评论 #9552051 未加载
评论 #9552153 未加载
habitueabout 10 years ago
It mentions the rust 1.1 beta, but doesn&#x27;t link to it. Where is the list of changes in 1.1?
评论 #9552339 未加载
crudbugabout 10 years ago
I always disliked - &quot;let and let mut&quot;.<p>Personally - &quot;val and var&quot; are more intuitive.
评论 #9552634 未加载
aembletonabout 10 years ago
Why does a simple &quot;Hello World&quot; create a 578KB binary?<p>Is it packaging a lot of extras that aren&#x27;t needed for such a simple program?
评论 #9552622 未加载
评论 #9552728 未加载
评论 #9553452 未加载
评论 #9552498 未加载
评论 #9553598 未加载
评论 #9553062 未加载
discardoramaabout 10 years ago
Congratulations to the team; it is nice to be around when a language is born. I remember when Ruby was born, and most people (that I knew) were like &quot;Huh? Why Ruby, when we have Perl?&quot;.<p>I haven&#x27;t followed Rust much, but as a total n00b: what are some <i>practical</i> reasons why one would choose to learn Rust? What features does this language have which others (pick: C, C++, D, etc.) don&#x27;t have? What does it do better than the aforementioned languages? (Please don&#x27;t take these as a challenge, but as a desire to learn more). Thanks!
评论 #9553167 未加载
评论 #9552599 未加载
评论 #9552602 未加载
评论 #9554062 未加载
EugeneOZabout 10 years ago
Congrats! Thanks to all who worked on it!
alexnewmanabout 10 years ago
A real game changer although I wonder if there&#x27;s still some minor breaking changes I&#x27;d like to see
评论 #9552288 未加载
pjmlpabout 10 years ago
Congratulations to everyone on the team!
madezabout 10 years ago
I think the release of the first stable version is an appropriate time to ask how the collaboration with packaging teams from major distributions is going.<p>Can you give us some information on that?
评论 #9554459 未加载
lcnmrnabout 10 years ago
Rust is nice, but… Why can&#x27;t anybody made a language with the exact syntax of Python, but compiled? It doesn&#x27;t need extreme safety features or other buzzwords.
评论 #9555785 未加载
评论 #9555827 未加载
评论 #9555952 未加载
评论 #9560205 未加载
akulbeabout 10 years ago
I&#x27;m on a Late 2013 Retina MacBook Pro, running 10.10.3, with the latest stable toolchain. It would not compile.<p><a href="http:&#x2F;&#x2F;pastebin.com&#x2F;bifK665u" rel="nofollow">http:&#x2F;&#x2F;pastebin.com&#x2F;bifK665u</a><p>I set --prefix=&#x2F;usr --enable-debug<p>No dice. I also tried to build from source in a VM on that same machine. 32-bit Ubuntu 14.04.2 (3GB of RAM), latest stable toolchain. Again, didn&#x27;t compile. Core dump.
评论 #9555551 未加载
mariusmgabout 10 years ago
Any IDE support for Rust ?
评论 #9552571 未加载
评论 #9552854 未加载
评论 #9552403 未加载
评论 #9552245 未加载
评论 #9552394 未加载
评论 #9552275 未加载
评论 #9553184 未加载
jchoksiabout 10 years ago
I was looking to see what UI and database bindings were available as crates and came across the crates.io web site.<p>It would be useful for people new to Rust to see what existing libraries are available and one way would be to have a link on the www.rust-lang.org site&#x27;s font page pointing to crates.io site.
评论 #9553486 未加载
gtirloniabout 10 years ago
Would it be possible to achieve near-Rustiness with modern C++14 and tons of warnings&#x2F;errors enabled?
评论 #9559755 未加载
chucksmashabout 10 years ago
Very exciting! I&#x27;ve worked through the tutorial in the past and enjoyed Rust very much but since then have just been passively following progress on HN. Looking forward to actually building something with it now.
GolDDranksabout 10 years ago
Congratulations to everyone involved!! Exciting times!
rjammalaabout 10 years ago
Congrats!
alfiedotwtfabout 10 years ago
\o&#x2F;
Psyonicabout 10 years ago
Congrats! This is awesome. Been waiting for 1.0 to really start digging into Rust. Now&#x27;s the time :)
rukuguabout 10 years ago
Just today I looked at beta release , congratulations and looking forward to using Rust
kamaalabout 10 years ago
Can somebody explain for what kind of use cases would this be helpful to use?
评论 #9553197 未加载
评论 #9553220 未加载
fslothabout 10 years ago
Anyone succesfull getting any glfw stuff on windows to build dependebly yet?
cyber1about 10 years ago
Super!
tyrickabout 10 years ago
Great job. I look forward to coding something over the weekend!
namelezzabout 10 years ago
Congratulations to the Rust team. I have been waiting for this.
cjdrakeabout 10 years ago
+1, Congratulations Rust Team :)
shmerlabout 10 years ago
Congratulations!
jedisct1about 10 years ago
Awesome!
outqinabout 10 years ago
cheers LOL
评论 #9552709 未加载