• Iapar@feddit.de
    link
    fedilink
    arrow-up
    3
    ·
    7 months ago

    What about rust? Isn’t its goal to be a modern c? Not that this is my opinion just something i read.

    • 257m@sh.itjust.works
      link
      fedilink
      arrow-up
      2
      ·
      7 months ago

      Rust is a better C++ replacement than C. Something like Odin would fit the mold better than Rust ever will.

      • Iapar@feddit.de
        link
        fedilink
        arrow-up
        1
        ·
        7 months ago

        Is it because c/odin is even lower level or what is the difference in your opinion if you don’t mind explaining.

        I try to make sense of the whole programming world but it is just so complex and most of what is written is pretty dry so i like to ask people.

        • 257m@sh.itjust.works
          link
          fedilink
          arrow-up
          2
          ·
          7 months ago

          Simplicity of design. Rust is built cleverly. It has lots of features and there are also tons of clever ways to solve a problem. Odin is quite simple and although not entirely minimalistic, it is written in a very clear way when approaching a problem. The borrow checker in rust in one thing I would call clever. It takes time to get used and although can be quite useful for safety it is too clever.