• BB_C@programming.dev
    link
    fedilink
    arrow-up
    15
    arrow-down
    4
    ·
    3 months ago

    ⚠TRIGGER WARNING⚠ two tokio-rs repos (this and toasty) have AGENTS.md files.

    • floofloof@lemmy.caOP
      link
      fedilink
      arrow-up
      11
      arrow-down
      12
      ·
      3 months ago

      These days we have to expect many projects will have them. It’s really a question of how responsibly and carefully AI is used. Some people just throw in their requirements, have the AI spit out code, do a cursory check to see if it seems to work, and that’s it. Other people take responsibility for the architecture and the code quality, using AI in a focused way and reviewing the results carefully. I’d look at the quality of the architecture and code before judging. I confess I have not done that yet with this one; I just thought it sounded potentially interesting.

      There are quite a few ways to write web applications with Rust these days, and while this sounds like it has potential, I’d still pick frameworks that are a little more mature for my own projects.

        • tatterdemalion@programming.dev
          link
          fedilink
          arrow-up
          1
          arrow-down
          2
          ·
          3 months ago

          How do you know it was built irresponsibly without reading the code, which is something you should be doing when adopting a dependency anyway?

        • floofloof@lemmy.caOP
          link
          fedilink
          arrow-up
          1
          ·
          3 months ago

          I’m using it locally, with models my existing computer can handle. I think, but I’m not sure, that it’s better for the environment than buying into some massive model hosted in a data centre. And I don’t want to lose my skills so I still try to do as much as I can without calling on it.

          • HoloPengin
            link
            fedilink
            arrow-up
            2
            ·
            3 months ago

            I will say that using a super efficient cloud model (deepseek for me, v4 flash is very cheap) is probably more efficient than using a local model in most cases, especially if you need strong capabilities. The question is whether your own grid or the provider’s grid is more environmentally friendly (hint: china’s energy mix is about 50% fossil fuels while the US’s mix is around 75% fossil fuels overall)

            Training is of course expensive still, but Chinese labs have all but caught up to US labs despite much lower compute resources being available to them.

            • floofloof@lemmy.caOP
              link
              fedilink
              arrow-up
              1
              ·
              3 months ago

              That’s a fair point. Where I am is about 28% fossil fuels I believe, so it’s a slightly different calculation.

            • floofloof@lemmy.caOP
              link
              fedilink
              arrow-up
              1
              ·
              3 months ago

              No, and I do understand that training is the most energy-intensive part of the process. I don’t know how exactly it divides up: how much of the work of massive data centres is training and how much is running people’s queries on finished models.