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 1.49.0

241 pointsby pietroalbiniover 4 years ago

13 comments

nitskyover 4 years ago
I am surprised the blog post doesn&#x27;t mention the stabilization of binding both by-move and by-ref in patterns [1]. I have personally been waiting on this one for several years. Time to go remove my workarounds. Thanks!<p>[1]: <a href="https:&#x2F;&#x2F;github.com&#x2F;rust-lang&#x2F;rust&#x2F;pull&#x2F;76119" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;rust-lang&#x2F;rust&#x2F;pull&#x2F;76119</a>
评论 #25593419 未加载
ufoover 4 years ago
A question for the Rust crowd, from someone who&#x27;s thinking about giving Rust another chance in 2021:<p>Last time I tried getting into Rust, some years ago, the recommended way to install it was to use the rustup tool. You were also kind of expected to learn using the &quot;nightly&quot; version of the language, because much of the documentation and stackoverflow answers depended on that.<p>Is this still the case now that we&#x27;re about to enter 2021? Is it OK to learn rust by installing it via &quot;apt install&quot;, or is it still recommended to use rustup? Is it OK to stick just to stable Rust or should I expect that I will need to install the nightly version at some point?
评论 #25594217 未加载
评论 #25594113 未加载
评论 #25594124 未加载
评论 #25595423 未加载
评论 #25594103 未加载
评论 #25595746 未加载
评论 #25594088 未加载
评论 #25594139 未加载
Galanweover 4 years ago
Any chance to see increased support for 8bit AVR in upcoming releases?<p>I know Rust is community driven, so it&#x27;s not like contributions will appear from thin air. But I guess maybe it would be time to promote&#x2F;incentivize people to contribute support for microcontrollers. This is a realm where C reigns and Rust would be a bowl of fresh air.
评论 #25594384 未加载
评论 #25595612 未加载
评论 #25594357 未加载
pjmlpover 4 years ago
Congratulations to everyone.<p>For me it was specially nice to have some minutes shaved off from full builds.
dbrgnover 4 years ago
Rust, where even unstable functions can be stable!<p>(Yes, I know that &quot;unstable&quot; in slice::select_nth_unstable refers to unstable sorting.)
darksaintsover 4 years ago
Curious why the distinction between tier 1 and tier 2 targets is testing. Is testing that burdensome? Why can&#x27;t the tests be run on them?
评论 #25593368 未加载
评论 #25593385 未加载
评论 #25593502 未加载
评论 #25593352 未加载
评论 #25593523 未加载
评论 #25593395 未加载
mindv0rtexover 4 years ago
I really enjoy using Rust for personal side projects. It made me a better C++ developer. I&#x27;m excited about stabilized const generics to be able to speed up my linear algebra code.<p>This issue though prevents me from recommending Rust for closed source development to my colleagues: <a href="https:&#x2F;&#x2F;github.com&#x2F;rust-lang&#x2F;rust&#x2F;issues&#x2F;40552" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;rust-lang&#x2F;rust&#x2F;issues&#x2F;40552</a>
评论 #25598762 未加载
Dowwieover 4 years ago
A lot of people are using Rust for advent of code 2020. It&#x27;s really interesting to see the role that AOC is having with adoption and leveling up Rust knowledge.
评论 #25596951 未加载
candied_scarfover 4 years ago
i am disappoint there isnt mention of more private&#x2F;reproducible release binary output from compilation<p><a href="https:&#x2F;&#x2F;github.com&#x2F;rust-lang&#x2F;rust&#x2F;issues&#x2F;40552" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;rust-lang&#x2F;rust&#x2F;issues&#x2F;40552</a><p><a href="https:&#x2F;&#x2F;github.com&#x2F;rust-lang&#x2F;rust&#x2F;issues&#x2F;75263" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;rust-lang&#x2F;rust&#x2F;issues&#x2F;75263</a>
评论 #25606817 未加载
option_greekover 4 years ago
I wish they would streamline the string handling capabilities. Currently the conversions between String and &amp;str are really ugly to look at. In general the conversion between types don&#x27;t seem all that great with developers having to either use crates or write their own code. They need to take more inspiration from C# which continues to be the benchmark of elegance (obviously personal opinion). That said, rust is still better than C++ - namely its package management is great. I just wish the compiler doesn&#x27;t keep second guessing me :D
评论 #25593604 未加载
评论 #25593597 未加载
apta_over 4 years ago
What IDE do people use for rust nowadays?
评论 #25601248 未加载
评论 #25599251 未加载
评论 #25599406 未加载
评论 #25598959 未加载
deccanchargersover 4 years ago
Nice.<p>Rust is nice language btw.<p>But,when will stable version of Rust be released? By stable,i mean, number of new features added must not be too much. Rust currently seem to be adding too many features every release (which is nice but also not so good at same time)
评论 #25593823 未加载
评论 #25593811 未加载
评论 #25594091 未加载
评论 #25594583 未加载
评论 #25593794 未加载
boxmonsterover 4 years ago
I recently wrote a utility for myself in Rust after having done several in C#. I like both languages, but Rust introduces pain points for no apparent reason. For example, I hate this way of dealing with errors<p><pre><code> match result { Ok(value) =&gt; value, Err(result) =&gt; { panic!(&quot;error traversing directories {}&quot;, result); } }; </code></pre> It&#x27;s awkward and ugly. I&#x27;m back to C#, now on .NET 5.) and find that it just got noticeably faster! It was already fast.<p>&quot;Astonishing Performance of .NET 5: More Data&quot;<p><a href="https:&#x2F;&#x2F;medium.com&#x2F;swlh&#x2F;astonishing-performance-of-net-5-more-data-5cdc8d821e8c" rel="nofollow">https:&#x2F;&#x2F;medium.com&#x2F;swlh&#x2F;astonishing-performance-of-net-5-mor...</a>
评论 #25593718 未加载
评论 #25594539 未加载
评论 #25593953 未加载
评论 #25593912 未加载