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?

  • Deebster@lemmyrs.org
    link
    fedilink
    English
    arrow-up
    6
    ·
    1 year ago

    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.

    • Howard Do@programming.devOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      Wow, that was quick. I heard that there’s brown university version that have interactive quiz you should read as second run. Good luck

  • kahnclusions@programming.devM
    link
    fedilink
    arrow-up
    5
    ·
    1 year ago

    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.

  • EdTheLegendary@programming.devM
    link
    fedilink
    arrow-up
    4
    ·
    1 year ago

    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.

  • svartravs@lemmyrs.org
    link
    fedilink
    arrow-up
    4
    ·
    1 year ago

    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.

    • quavan@programming.dev
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      That is also the approach I took. I still haven’t read every chapter despite using Rust professionally.

  • neil@programming.dev
    link
    fedilink
    arrow-up
    3
    ·
    1 year ago

    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.

  • lavafroth@programming.dev
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    1 year ago

    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!