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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Rust Priorities after 1.0

148 点作者 doublextremevil大约 10 年前

10 条评论

kibwen大约 10 年前
I think one thing that we need to emphasize is that Rust 1.0 does <i>not</i> indicate that we think the language is &quot;complete&quot;. It is merely the result of recognition that <i>getting</i> to that &quot;complete&quot; state can, as of very soon, be done in a stable and backwards-compatible fashion. I expect the post-1.0 releases to see a flurry of activity as we flesh out deficiencies in existing features and add new features to address pain points, but over time the rate of feature growth will slow. Rust has no intention of becoming a ball-of-mud programming language.
评论 #9392781 未加载
Animats大约 10 年前
From the proposals: <i>&quot;Perhaps the biggest is the lack of &quot;privacy&quot; or &quot;unsafety&quot; hygiene (meaning that it&#x27;s not possible to define macros that have privileged access over normal code). This prevents macros from being used to define abstraction barriers.&quot;</i><p>That may be a misfeature. One would like to reduce the need for unsafe code, not make it easier to write unsafe code. Unless you&#x27;re talking to hardware or another language, you should not need unsafe code. If you do, the language has a problem. I&#x27;d suggest identifying each use of unsafe code in a large system and then looking at why it was necessary.<p>It&#x27;s important to keep Rust from going off into template la-la land, as C++ did. C++ generics are starting out with roughly the complexity level it took C++ two decades to achieve. Try to keep the metaprogramming fanatics from driving the language design, please. That doesn&#x27;t end well.
评论 #9392355 未加载
评论 #9392288 未加载
LVB大约 10 年前
I really wish better Windows support was available now. Solid cross-platform support has allowed me to move some Python code to go. My attempts to do the same with Rust have been failures, on multiple occasions, but as recently as their 1.0 beta and nightlies (both 32&#x2F;64 bit were tried).<p>After giving it a few hours with the IRC channel riding shotgun and hello_world.rs still crashing on Windows, I&#x27;ve again hit snooze of Rust. A pity too... I am quite re-interested after seeing some Rust demos&#x2F;discussion at PyCon.
评论 #9392252 未加载
评论 #9392399 未加载
评论 #9429782 未加载
rck大约 10 年前
Does &quot;ARM support&quot; include bare-metal arm at all? I know there are several projects that move in that direction, but it&#x27;s not obvious to me how mature they are relative to the rest of Rust (granting that everything in the ecosystem is in an early state)...
评论 #9392119 未加载
amelius大约 10 年前
I wonder if Rust would support something like the following. Say, I have a mmapped file, and in this file I&#x27;d like to store data-structures such as maps, sets, lists, etc. Basically, they are the same data-structures as one would use on the heap. Because the mmapped file is offsetted at a different point in memory every time it is opened, the actual pointers used to access these data-structures will be different every time. But the pointers <i>inside</i> the data-structures will be the same every time the file is mmapped. So, this requires some special pointer arithmetic (and perhaps a special type system). It would definitely be a very interesting and useful feature!
hanlec大约 10 年前
After using Go for a couple of pet projects in the last couple of months, I came out bored. Many people seem to be quite excited about Rust. I&#x27;m setting up my (new) Emacs end for Rust.<p>Any cool projects I can take a look at?
评论 #9391918 未加载
评论 #9392165 未加载
评论 #9392255 未加载
评论 #9392066 未加载
评论 #9391983 未加载
da4c30ff大约 10 年前
I wish I could use &#x27;type&#x27; as a variable name or as a field on a struct. It&#x27;s one of the most used identifier names and the inability to use it is frustrating.
评论 #9393128 未加载
aidenn0大约 10 年前
I&#x27;m glad specialization is listed as a Top Priority; it&#x27;s something that I&#x27;ve wanted in Rust for about 2 years nos.
thuffy大约 10 年前
LOL, the new Godwin&#x27;s Law: Edward Snowden.<p>(See my valid but then NSA downvoted answer to the question below regarding GO vs. Rust that no one else could answer and were forced to make jokes about -- if you are wondering what I mean.)<p>Sorry rust thread. :(<p>(now kicked off the front page)
choward大约 10 年前
For a language that was written by Mozilla, I find it very annoying that they steal my browser&#x27;s built-in ctrl+f functionality that I&#x27;m perfectly fine with using. Also, my vimium plugin doesn&#x27;t work. This is the first time I&#x27;ve encountered something like this. This better not become a thing.
评论 #9392276 未加载
评论 #9392275 未加载