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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Learning Rust

229 点作者 dumindunuwan大约 7 年前

12 条评论

mswift42大约 7 年前
Exercises, I want Exercises, no I need Exercises.<p>In order for me to learn anything, I need some form of &quot;homework&quot;. If you want to teach me a new language, a new framework, I need to &quot;get my hands dirty&quot;.<p>Working through exercises makes sure I actually understand what I am reading, and sometimes it even shows me I don&#x27;t understand what I thought I did.
评论 #16597503 未加载
评论 #16595591 未加载
评论 #16599255 未加载
评论 #16595957 未加载
评论 #16595609 未加载
评论 #16598586 未加载
评论 #16595640 未加载
评论 #16597201 未加载
评论 #16595796 未加载
评论 #16595642 未加载
评论 #16601863 未加载
_Chief大约 7 年前
From the github readme<p>&gt; I am a Sri Lankan Web Developer who lives in Vietnam. So I am not a native English speaker and just learning Rust<p>This guide is so well done, props to you. I haven&#x27;t worked with Rust yet but your docs make it seem so easy to work with.
评论 #16598696 未加载
hokkos大约 7 年前
I love those succinct introductions to languages, I find it easier to understand when you don&#x27;t have to read lots of text and languages possibilities are written as a series of quick examples.<p>What I miss from Rust learning material is a series of exercises that focus on reference, lifetime, ownership where you have to fix some code to make it compile.
评论 #16595906 未加载
vvanders大约 7 年前
Looks really nicely written and laid out.<p>One note on borrowing&#x2F;ownership that really made it click for me was that to move from &amp;mut T to &amp;T you have to transition through owning the value type, so:<p>&amp;mut T -&gt; T &lt;- &amp;T<p>Whichever scope holds the actual value-type is the only scope that can make that transition(absent cases like RefMut)
评论 #16595318 未加载
评论 #16595396 未加载
评论 #16595324 未加载
Scarbutt大约 7 年前
For devs, equally familiar in rust and python and ignoring libraries, would you say development speed in both languages is almost the same?
评论 #16596385 未加载
评论 #16602759 未加载
评论 #16596710 未加载
评论 #16597296 未加载
评论 #16596768 未加载
piracykills大约 7 年前
I really want to learn and use Rust, but just lack the motivation, especially when APIs turn out to be incomplete - I think the last one I saw was multicast not allowing me to set the send interface.<p>I guess the main draw for me to any given language is great libraries with great APIs. Python has those, Javascript has those, C++ has those, Rust... not so much yet.
评论 #16600225 未加载
earenndil大约 7 年前
This looks like a fairly nice website. For someone coming from a background of C and D, but familiar with quite a few others, I have to ask: what makes rust different and better? Aside from memory safety, what reason do I have to choose rust over another language?
评论 #16596874 未加载
评论 #16596616 未加载
评论 #16596413 未加载
talloaktrees大约 7 年前
How does this compare to the Rust Programming book?
评论 #16596439 未加载
评论 #16598709 未加载
faitswulff大约 7 年前
This is very readable. Thanks!
anon335dtzbvc大约 7 年前
Duplicate?<p><a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=16048065" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=16048065</a>
评论 #16601941 未加载
评论 #16602607 未加载
yusrilhs大约 7 年前
I trying use rust, but I don&#x27;t know why sometimes cargo is like hanging to retrieve from github.
评论 #16599552 未加载
评论 #16599557 未加载
Animats大约 7 年前
I used to know Rust, but I got tired of the churn and went back to Go.
评论 #16596959 未加载
评论 #16597804 未加载