• endless_nameless@lemmy.world
        link
        fedilink
        arrow-up
        0
        ·
        1 month ago

        My rule of thumb: If I wouldn’t write it in bash, I won’t write it in Python. Anything more serious gets a grown up language

        • lime!@feddit.nu
          link
          fedilink
          arrow-up
          0
          ·
          1 month ago

          i just write the critical parts in c and glue them together with python, because if it’s one thing it’s good at it’s ffi.

          • aivoton@sopuli.xyz
            link
            fedilink
            arrow-up
            0
            arrow-down
            1
            ·
            1 month ago

            Do you have a codeberg? I’d love to see how you use c and python together

        • FizzyOrange@programming.dev
          link
          fedilink
          arrow-up
          0
          ·
          1 month ago

          Yeah anyway with AI why would you use Python for a new project? I just do everything in Rust now, including simple scripts.

          Unfortunately there’s a lot of existing Python code.

            • FizzyOrange@programming.dev
              link
              fedilink
              arrow-up
              0
              ·
              1 month ago

              Assuming that’s a genuine question…

              AI needs feedback just the same as humans. I would think of AI like a human that’s of average cleverness, but has a huge breadth of knowledge and basically infinite time and patience. They are going to be decent at assembly but they’re still going to make mistakes just like humans.

              Using a language like Rust that has a lot of static correctness checks gives a higher quality result for AI, just like it does for humans.

              • aivoton@sopuli.xyz
                link
                fedilink
                arrow-up
                0
                arrow-down
                1
                ·
                1 month ago

                AI doesn’t need feedback – you’re supposed to write “make no mistakes”. Why are you worrying about “static correctness checks” when AI can just write flawless assembly?