I’m a beginner who just started to read the rust book, I find it quite tedious and wonder how long does it take u guys to read it? Also, any suggestion after finishing reading the book?
I never went through it “end to end”. I think it’s important to cover the essentials up to ownership, lifetimes, generics, etc, but most of the topics after chapter 10 you can pick and choose as you come across them in real life. The most important is to just start any kind of project and see what questions you come across as you build.
Is this the book we’re talking about?
yes, it’s ubiquitous so I just call it the book :D
It goes by: the Book. It must be capitalized. /s
I guess that varies a lot with how much programming you’ve done before, particularly things like functional programming and using generics.
I can’t remember exactly, but I think I took about a week with fully doing the little tutorial and the customising them.
I should probably go through it again; I’m sure there’s a bunch of stuff I read and forgot, or never really grokked in the first place.
Wow, that was quick. I heard that there’s brown university version that have interactive quiz you should read as second run. Good luck
It was a few years ago now, it could easily have been two or even three weeks!
I have never tried to read it from start to end. I went through first ~10 chapters then started to work on my projects. Then returned to some parts when needed more understanding. I noticed that some parts of the book were updated a lot during last 2 or 3 years, a lot of new information added.
That is also the approach I took. I still haven’t read every chapter despite using Rust professionally.
And after this book, I recommend “Rust for Rustaceans” by Jon Gjenset.
It took me several months at a rather slow pace, following along with rustlings. It’s definitely worth being thorough though, it has been useful knowing what I do now when I’m working on my projects. A good follow up would be building your own project, preferably something you’ll use yourself.
I plowed through it like a textbook on my first read, not really to absorb it 100% but to at least make the cadence and content familiar. I read it as a reference in parts on subsequent reads.
I finished it on my third try (gosh, us millennials have terrible attention spans) in around two weeks. I think the takeaway comes from doing the exercises. I love the hands on approach of the book. You might wanna try out rustlings in parallel!