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

  • da_cow (she/her)@feddit.orgOP
    link
    fedilink
    arrow-up
    9
    ·
    10 days ago

    The reason I got recommended to learn C first is so that you are getting used to handling memory by yourself. Then you switch to rust and since you are used to handling memory your rust code is usually better quality.

    Another reason I want to learn C is because I regularly have to work with Arduinos.

        • henfredemars@infosec.pub
          link
          fedilink
          English
          arrow-up
          1
          ·
          9 days ago

          I don’t blame you. I have to use a professionally sometimes and I am not a fan. It’s an absolute behemoth of the language filled with warts and cruft.

          Sometimes it is the best choice for a project, but I prefer languages with simple, orthogonal concepts.