Finally I have a valid reason to learn about memory management. It was also hella weird when encountering it.

  • anton@lemmy.blahaj.zone
    link
    fedilink
    arrow-up
    3
    ·
    3 days ago

    I can’t comment whether learning C first improves your rust, but it certainly makes you appreciate what the rust compiler does.
    Also learning rust improved my C.

    • Decq@lemmy.world
      link
      fedilink
      arrow-up
      6
      ·
      3 days ago

      I think it’s a fair strategy. If they know what happens if you do it wrong people suddenly complain less about rust’s borrow checker. Whereas people who are only used to garbage collected language don’t usually have the slightest clue why it works the way it does.