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.

Ask HN: How do you learn Rust in 2023?

32 pointsby estebandalelrover 1 year ago
I will probably lean a lot on ChatGPT, but there has to be something better, hopefully free.

13 comments

thatxlinerover 1 year ago
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 未加载
roland35over 1 year ago
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>
owenpalmerover 1 year ago
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 未加载
jamestimminsover 1 year ago
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.
bombardier123over 1 year ago
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
estebandalelrover 1 year ago
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_lolover 1 year ago
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.
dhuxover 1 year ago
First read the rust book.. And write your own tiny program.
dupedover 1 year ago
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.
mortallywoundedover 1 year ago
Probably the same way you learned it in 2018-2022. By using it to build small projects and progressively get larger.
skeptruneover 1 year ago
Build something. I think making an actix-web REST API is a great place to start
Mrirazak1over 1 year ago
Have you tried freecodecamp? Idk if they do it but it’s a suggestion.
mortylenover 1 year ago
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.