• misk@sopuli.xyzOP
    link
    fedilink
    arrow-up
    7
    ·
    edit-2
    10 hours ago

    People write code with LLMs. Programming language is just a language specialised at precise logic. That’s what „AI” is advertised to be good at. How can you do that an not the other?

    • TimeSquirrel@kbin.melroy.org
      link
      fedilink
      arrow-up
      8
      arrow-down
      1
      ·
      10 hours ago

      It’s not very good at it though, if you’ve ever used it to code. It automates and eases a lot of mundane tasks, but still requires a LOT of supervision and domain knowledge to not have it go off the rails or hallucinate code that’s either full of bugs or will never work. It’s not a “prompt and forget” thing, not by a long shot. It’s just an easier way to steal code it picked up from Stackoverflow and GitHub.

      Me as a human will know to check how much data is going into a fixed size buffer somewhere and break out of the code if it exceeds it. The LLM will have no qualms about putting buffer overflow vulnerabilities all over your shit because it doesn’t care, it only wants to fulfill the prompt and get something to work.

      • misk@sopuli.xyzOP
        link
        fedilink
        arrow-up
        7
        ·
        10 hours ago

        I’m not saying it’s good at coding, I’m saying it’s specifically advertised as being very good at it.

    • MagicShel@lemmy.zip
      link
      fedilink
      English
      arrow-up
      4
      arrow-down
      3
      ·
      edit-2
      4 hours ago

      “Precise logic” is specifically what AI is not any good at whatsoever.

      AI might be able to write a program that beats an A2600 in chess, but it should not be expected to win at chess itself.

      • misk@sopuli.xyzOP
        link
        fedilink
        arrow-up
        4
        ·
        edit-2
        7 hours ago

        I shall await the moment when AI pretends to be as confident about communicating not being able to do something as it is with the opposite because it looks like it’s my job somehow.

        • MagicShel@lemmy.zip
          link
          fedilink
          English
          arrow-up
          1
          ·
          6 hours ago

          Yeah, LLMs seem pretty unlikely to do that, though if they figure it out that would be great. That’s just not their wheelhouse. You have to know enough about what you’re attempting to ask the right questions and recognize bad answers. The thing you’re trying to do needs be within your reach without AI or you are unlikely to be successful.

          I think the problem is more the over-promising what AI can do (or people who don’t understand it at all making assumptions because it sounds human-like).