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.

Learning Rust in 2020

146 pointsby yannikyeoabout 5 years ago

6 comments

steveklabnikabout 5 years ago
&gt; When I started learning Rust I made the mistake of following the advice to read The Book first. While it&#x27;s a great resource, it&#x27;s pretty overwhelming for a beginner to get told &quot;If you&#x27;d like to learn this programming language the best way to start is to read this 20 chapter book!&quot; Most people give up before they even get started when they get advice like this. Nobody ever told someone to read a 20 chapter book just to get started with Javascript or Python. Rust&#x27;s learning curve is no joke but you gotta give the people what they want, and they want to program, not read about programming. Programming is fun and reading about programming is not as fun.<p>As one of the authors of the book, I wholeheartedly agree that it&#x27;s not for everyone. Folks should learn in the way that works well for them. I&#x27;m glad this resource exists!
评论 #23161576 未加载
评论 #23161469 未加载
评论 #23161315 未加载
评论 #23161973 未加载
评论 #23165022 未加载
评论 #23161955 未加载
评论 #23167671 未加载
评论 #23161492 未加载
评论 #23171947 未加载
ggregoireabout 5 years ago
I wish every language had the equivalent of <a href="https:&#x2F;&#x2F;tour.golang.org" rel="nofollow">https:&#x2F;&#x2F;tour.golang.org</a>.<p>Edit: hey thanks to both answers, bookmarking it for later. I&#x27;m learning Haskell right now and it definitely misses something like this.
评论 #23161604 未加载
评论 #23161611 未加载
评论 #23165981 未加载
评论 #23162267 未加载
k__about 5 years ago
Nice!<p>I just started learning Rust for a WebAssembly project.<p>The people on the Discord server are nice and quick to answer questions.<p>The ebooks I found online are a bit hard to grasp. At least for a JS dev like me.<p>I mean, for the basics they&#x27;re okay, but what I&#x27;m missing is how to write &quot;good Rust code&quot;. There are always multiple ways to do things (Option&#x2F;Result, try!&#x2F;?&#x2F;unwrap&#x2F;expect, loops&#x2F;map&#x2F;fold, etc.) and I already produced some runtime errors, haha
评论 #23163000 未加载
评论 #23162046 未加载
评论 #23165684 未加载
memcoabout 5 years ago
I&#x27;ve been working through the Rustlings exercises for the past week or two. I get through a handful at a time (spending 20 min to an hour) and have done maybe 5 or 6 sessions. It doesn&#x27;t seem short to me (doesn&#x27;t seem long either, but it isn&#x27;t like I blew through it in a few hours). It can be confusing as the hints are sometimes really vague. I&#x27;ve cobbled my way through so far and if I&#x27;ve gotten stuck I just stop and come back to it another day. Usually I can progress quickly with fresh resolve. It is nice in that it helps you learn the syntax, but it doesn&#x27;t seem to help me much with the concepts. I feel this is in part that when you run `rustlings watch` it doesn&#x27;t first point you to the section of the book you&#x27;re reading it just throws broken code at you and tells you to run `rustlings hint &lt;foo&gt;` which only sometimes points to the book. Most of the time you are just given broken code and asked to fix it with some suggestions of where to look in this specific code. I have completed 53 exercises and am in the process of working on standard library types. I could go into some more specific details if anyone is curious about my experience. Hoping to post my annotated work through to github when done, but I could either copy out the few bits that were particularly vexing or could post the code with my comments now for people to peruse. One thing I would like to find is a place to start interacting and asking questions. Heard someone mention discord so I&#x27;ll maybe start there or on IRC.
评论 #23166123 未加载
jonnypottyabout 5 years ago
Im kind of dismayed that we&#x27;re told that reading about programming isn&#x27;t fun. Also we&#x27;re told what people like and what they don&#x27;t. Is this what &quot;people&quot; like and don&#x27;t like or what the author likes and doesn&#x27;t like?<p>Learning the hard concepts in rust is exactly where the value lay for me. For some people I guess copying things and getting results without understanding is rewarding and I&#x27;d never say people shouldn&#x27;t do that but author should not be telling people not to read. It&#x27;s terrible advise.
评论 #23166444 未加载
armSixtyFourabout 5 years ago
+1 for rustlings, it&#x27;s fantastic, I went through it right after reading through the book. The books are good, but it&#x27;s hard to compete with being hands on like rustlings is.