• Earthwormjim91@lemmy.world
    link
    fedilink
    English
    arrow-up
    35
    arrow-down
    2
    ·
    1 day ago

    There’s also a huge difference between someone like Linus Torvalds, who understands code better than most people on earth, using AI supervised to increase productivity, and Timmy off the street having chatGPT build something he has no clue how it works or what code even does.

    Vibe coding isn’t just using AI. It’s using AI to do things you don’t understand in the first place.

    • tyler@programming.dev
      link
      fedilink
      arrow-up
      3
      arrow-down
      6
      ·
      12 hours ago

      There’s also a huge difference between someone like Linus Torvalds, who understands code better than most people on earth, using AI supervised to increase productivity, and Timmy off the street having chatGPT build something he has no clue how it works or what code even does.

      disagree. there’s no difference between the car mechanic or the politician pouring oil into the river. They’re both horrendous. sure, one of them might have a reason for doing so, but that reason isn’t a good reason.

      • AnyOldName3@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        5 hours ago

        Both things are going on at the same time, as Torvalds and Timmy are both paying Sam Altman to pour oil into the river as a byproduct of the service he’s providing. For something as important as the Linux kernel, it wasting fewer CPU cycles as a result of LLM-aided optimisation work might even be net beneficial for the environment once you take into account that it’ll affect billions of computers for years to come. If the end product is shitty, though, there’s no question that it wasn’t worth the environmental damage.

        • tyler@programming.dev
          link
          fedilink
          arrow-up
          1
          ·
          3 hours ago

          It would have to use trillions of fewer cpu cycles to do that. Currently scientists estimate it at 8 cups of water consumed for every 100 word prompt. What developer do you know that consumes 8 cups of water a day much less every thirty seconds. A developer can sit there and think with their own mind, computer doing nothing, while an LLM consumes thousands of gallons of water and kilowatts of electricity to do the same thing.

          • AnyOldName3@lemmy.world
            link
            fedilink
            arrow-up
            1
            ·
            2 hours ago

            It only needs to save a few hundreds of seconds on one computer, or one second on a few hundreds of computers, or a tiny fraction of a second on the number of computers that actually run Linux to save trillions of cycles. A trillion cycles isn’t very many at all. A hundred-word prompt on a frontier model running on GPUs in a datacentre burns much more power than a trillion cycles on a CPU, so for a large Linux kernel patch, trillions is the wrong number by many orders of magnitude. There are also a lot of computers spending a lot of time running Linux, so it kind of balances out. There’s only one Linus Torvalds, and he’s very busy, so it’s likely that if he’d not used an LLM to get this work done, it simply wouldn’t have happened, even if someone had been willing to fund a different human to do it.

            Either way, the original point of the post was that LLM-generated code is always shitty (even when it’s not immediately obvious to whoever’s responsible for it that it’s shitty) and so having any amount of it already makes things worse, even ignoring the huge environmental cost. With that context, it is the case that there’s a huge difference between Timmy and Torvalds as Torvalds is famous for having very high standards, so if he’s using it, he might be able to make something that isn’t shitty.

            • tyler@programming.dev
              link
              fedilink
              arrow-up
              1
              ·
              50 minutes ago

              I didn’t realize you were talking about performance in the kernel, which I think will be incredibly hard to measure. That that’s usually the main focus of enterprise investment into Linux, so I very much doubt that an LLM is coming in and making improvements there, but maybe it’s happening. As far as I can tell all the latest things are security scans, which usually will result in worse performance since the goal isn’t speed but safety.

    • orca@orcas.enjoying.yachts
      link
      fedilink
      arrow-up
      4
      arrow-down
      1
      ·
      22 hours ago

      100%. There’s a difference between asking AI to do things that you yourself don’t understand, and using it as a quicker route to something you already know as an engineer. The difference is that the engineer knows when to halt the agent or push back to do something properly. I don’t make AI dabble in languages I don’t already know myself.