TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Rust 1.53

186 点作者 bilalhusain将近 4 年前

8 条评论

ashton314将近 4 年前
I love the `|` matching anywhere in a pattern. That will certainly cut down on a <i>lot</i> of code and improve readability.
divtiwari将近 4 年前
Should one learn Rust, lets say after 3-4 years, i.e by mid 2020s, once it becomes more mainstream? The syntax of Rust is a mix of OCaml&#x2F;C++ and I feel some of the concepts are very esoteric for a normal enterprise Java&#x2F;C#&#x2F;JS&#x2F;Python developer, so it takes a lot of cognitive overload to master it. So is it worth learning now or later?
评论 #27540961 未加载
评论 #27541371 未加载
评论 #27540985 未加载
评论 #27543937 未加载
评论 #27541076 未加载
评论 #27540944 未加载
评论 #27546869 未加载
评论 #27542224 未加载
评论 #27541572 未加载
评论 #27541310 未加载
评论 #27542151 未加载
评论 #27541357 未加载
评论 #27540918 未加载
评论 #27543235 未加载
评论 #27541814 未加载
GolDDranks将近 4 年前
At last, I&#x27;m able to pass bona fide stack-allocated iterators of a few elements into things. I&#x27;m very happy with this newly gained array neatness.
评论 #27541088 未加载
BelenusMordred将近 4 年前
&gt; Identifiers can now contain non-ascii characters. All valid identifier characters in Unicode as defined in UAX #31 can now be used. That includes characters from many different scripts and languages, but does not include emoji.<p>Don&#x27;t despair fellow emoji devs, our time will come soon enough.
评论 #27541019 未加载
评论 #27540790 未加载
评论 #27542552 未加载
评论 #27545826 未加载
评论 #27541710 未加载
nonameiguess将近 4 年前
I just recompiled rustc on my Linux From Scratch desktop. I guess I should have timed it, but it sure felt a lot faster. Finished when I wasn&#x27;t even paying attention.<p>Went from 9 failed tests on 1.52.1 to 13 on 1.53.0.<p>I&#x27;m not expecting Firefox to compile, but that&#x27;s entirely on Mozilla.
ostenning将近 4 年前
I love the non-ascii character support although for me as an English speaker I wouldn&#x27;t use it, but I&#x27;m sure there many Asian teams that would appreciate these changes<p><pre><code> struct 人 { 名字: String, }</code></pre>
Svetlitski将近 4 年前
Sweet, cmp::min_by_key and cmp::max_by_key have finally been stabilized. Was sorely missing this little convenience in Rust, as it helps express a particular idea more clearly and succinctly.<p>Also the improvement to compile times on macOS due to the change in how debug info is stored is a nice productivity boost.
sakawa将近 4 年前
I&#x27;m a little OT (sorry), but I am wondering if is there a way to learn Rust while keeping up with the changes made from last edition (Rust 2018, which is 1.31)?
评论 #27544032 未加载