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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Ask HN: How do you learn Rust in 2023?

32 点作者 estebandalelr超过 1 年前
I will probably lean a lot on ChatGPT, but there has to be something better, hopefully free.

13 条评论

thatxliner超过 1 年前
A good resource for learning ownership, borrowing, references and all that jazz: <a href="https:&#x2F;&#x2F;rust-unofficial.github.io&#x2F;too-many-lists&#x2F;" rel="nofollow noreferrer">https:&#x2F;&#x2F;rust-unofficial.github.io&#x2F;too-many-lists&#x2F;</a>
评论 #38134278 未加载
roland35超过 1 年前
I found that the oriely book &quot;Programming in Rust&quot; to be very thorough and helpful for me. It helped me really understand the concepts of Rust. Although the free rust documentation is fantastic too!<p><a href="https:&#x2F;&#x2F;www.oreilly.com&#x2F;library&#x2F;view&#x2F;programming-rust-2nd&#x2F;9781492052586&#x2F;" rel="nofollow noreferrer">https:&#x2F;&#x2F;www.oreilly.com&#x2F;library&#x2F;view&#x2F;programming-rust-2nd&#x2F;97...</a>
owenpalmer超过 1 年前
Read the Rust Book. Rust is not like other languages, you need to understand the fundamentals before staring a project, otherwise you will get frustrated.
评论 #38140785 未加载
评论 #38133726 未加载
jamestimmins超过 1 年前
I have found ChatGPT to be most useful as a way of explaining tricky code examples in Rust.<p>So while going through Rust by Example, I&#x27;ll paste programs into ChatGPT and have a conversation with it about how specific pieces work. I&#x27;ve also done LeetCode problems and then asked ChatGPT for feedback about my approach.
bombardier123超过 1 年前
Edited for grammar and format Read the &#x27;Rust Book&#x27; as others suggested. Make small programs.<p>- Result and Option ( if let, match etc)<p>- understand references &#x2F; mutable references<p>- ownership and borrowing.<p>- traits.<p>- learn generics<p>- Box, RC, Refcell,<p>- threads with Arc&#x2F; Mutexes.<p>- std::sync - channels(tx, rx)<p>- tokio (if you want to get better at an async runtime)<p>- take up an open source project and do it rust
estebandalelr超过 1 年前
Thanks! I am looking at The Book (<a href="https:&#x2F;&#x2F;doc.rust-lang.org&#x2F;book&#x2F;" rel="nofollow noreferrer">https:&#x2F;&#x2F;doc.rust-lang.org&#x2F;book&#x2F;</a>), but hoped there was an amazing person on youtube.<p>Yeah, I&#x27;ll build something, finally trying webassembly.
评论 #38133710 未加载
seg_lol超过 1 年前
Create a Rust program that writes a PPM file to stdout of a shape you want to draw.<p>Ask ChatGPT to give you example programs you need to implement based on part of rust you want to learn.
dhux超过 1 年前
First read the rust book.. And write your own tiny program.
duped超过 1 年前
ChatGPT frequently gives out incorrect code, I suggest you start with &quot;the Book&quot; and then work on some projects, like any other language.
mortallywounded超过 1 年前
Probably the same way you learned it in 2018-2022. By using it to build small projects and progressively get larger.
skeptrune超过 1 年前
Build something. I think making an actix-web REST API is a great place to start
Mrirazak1超过 1 年前
Have you tried freecodecamp? Idk if they do it but it’s a suggestion.
mortylen超过 1 年前
First, quickly go through all the documentation. Then start writing whatever comes to mind. And if you don&#x27;t understand something, go back to the documentation. For me, that&#x27;s the best way to learn.