• Fal@yiffit.net
    link
    fedilink
    English
    arrow-up
    6
    arrow-down
    2
    ·
    edit-2
    8 months ago

    You’re missing the point. Tools are different. Trying to learn and use rust by writing unsafe bubble sort is pointless. Use it to actually accomplish something and you’ll find out just how amazing it is.

    Using the ecosystem that exists to be productive and not have to think at all about whether what you’re doing is correct is the point. It catches the subtle errors for you and lets you use the powerful libraries like clap for command line parsing, tokio, etc.

    • MajorHavoc@programming.dev
      link
      fedilink
      arrow-up
      1
      arrow-down
      2
      ·
      edit-2
      7 months ago

      I wasn’t being that picky, and I was using the ecosystem. Rust just has lousy compiler warnings.

      I know dozens of languages, so I don’t mind risking looking dumb when I say “this tool isn’t very good yet”.

      Rust’s compiler, considering what it asks for, isn’t good enough at guiding the developer toward those asks. It actively wastes the one crucial low-supply computing resource: developer time.

      I could have figured it out, if I had to. But I didn’t have to. I moved on to the next interesting language to try out. It was goLang, and it had isn’t own bullshit, but it wasn’t as bad as Rust.

      I’ve written in Haskell and Brainfuck. I don’t mind esoteric languages.

      But Rust presents itself as a solid general purpose pragmatic development tool, which is great to strive for, but it wasn’t there yet, last time I gave it a chance.

      I want Rust to succeed in replacing Python, because the world would be better off with better security defaults. But Rust had not, last I checked, attracted the necessary usability specialist contributors, to have any chance at that goal.

      Edit: I no longer want Rust to replace Python. Y’all got a problem presenting yourselves, kids. It’s going to hurt your language adoption rate.

      Edit 2: And get off my lawn!

      • Fal@yiffit.net
        link
        fedilink
        English
        arrow-up
        3
        arrow-down
        3
        ·
        8 months ago

        Rust just has lousy compiler warnings.

        You’re the only person I’ve ever heard this from. Rust’s compiler warnings are amazing. Like 2nd to none

        • MajorHavoc@programming.dev
          link
          fedilink
          arrow-up
          1
          arrow-down
          1
          ·
          8 months ago

          It’s very possible it’s improved since I tried it last. I’ll put it back on my list to give it another go.