• cub Gucci@lemmy.today
      link
      fedilink
      arrow-up
      43
      ·
      4 days ago

      Rust written by AI is funny.

      1. Ask Claude to write something in rust, hoping for memory safe code

      2. Complain that some parts are slow

      3. Look inside and see a ton of uncontained unsafe code

      • Khrux@ttrpg.network
        link
        fedilink
        English
        arrow-up
        3
        ·
        3 days ago

        I’m not sure they’re even looking inside anymore, just asking Claude what’s wrong.

    • notquiteloona@lemmy.blahaj.zone
      link
      fedilink
      arrow-up
      25
      ·
      4 days ago

      I absolutely hate how LLMs love Rust. Though it goes from its very design of ensuring safety at compile time, but at least System76, one of the most prominent adopters of Rust in Linux communities, didn’t join the dark side.

          • strawberry_enjoyer42@lemmy.blahaj.zone
            link
            fedilink
            English
            arrow-up
            1
            ·
            3 days ago

            I say “yes”, with one exception: if they remove the offending code, the project (as a whole) is no longer tAInted.

            And yeah; there are pure projects. NetBSD’s kernel is currently untAInted, but some things in the project (like GCC) are.

            • HappyFrog@lemmy.blahaj.zone
              link
              fedilink
              arrow-up
              1
              ·
              2 days ago

              I find that to be a impossible standard to put on projects, and creates a community of distrust and accusations.

              I found the discussion of Bevy’s AI policy to be quite nuanced and fair.

              I hope you find projects that fit your requirements.

          • strawberry_enjoyer42@lemmy.blahaj.zone
            link
            fedilink
            English
            arrow-up
            2
            ·
            2 days ago

            Yes; I was absolutely crestfallen when I caught wind of it being tAInted.

            I’m currently investigating alternatives. Redox is anti-AI, but written in Rust. Haiku isn’t really suitable for most folks as a daily driver. ReactOS is basically a toy, and is tAInted anyways.

            Of the BSDs, FreeBSD and OpenBSD are both tAInted; Hyperbola is still using Linux-Libre; NetBSD itself is untAInted, but uses GCC (if I recall correctly), and one of its forks, MirBSD, is in the same boat.

            If I can build NetBSD using an alternative compiler toolchain, then that would be an excellent starting point for a new OS.