• buh [she/her]@hexbear.net
    link
    fedilink
    English
    arrow-up
    73
    arrow-down
    1
    ·
    23 days ago

    When a compiler takes my human readable code and converts it into executable machine code, that’s AI

    • GaveUp [she/her]@hexbear.net
      link
      fedilink
      English
      arrow-up
      47
      ·
      edit-2
      23 days ago

      I wouldn’t be surprised if it’s technically true but it’s more like, coder starts writing out a line of code, AI autocompletes the rest of the line, and then the coder has to revise and usually edit it. And the amount of code by character count that the AI autocompleted is 25% of all new code. Like same shit as Github’s CoPilot that came out years ago, nothing special at all

      None of that 25% of AI generated code wasn’t very heavily initiated and carefully crafted by humans every single time to ensure it actually works

      It’s such a purposeful misrepresentation of labour (even though the coders themselves all want to automate away and exploit the rest of the working class too)

      • Thordros [he/him, comrade/them]@hexbear.net
        link
        fedilink
        English
        arrow-up
        40
        ·
        edit-2
        23 days ago

        coder starts writing out a line of code, AI autocompletes the rest of the line, and then the coder has to revise and usually edit it. And the amount of code by character count that the AI autocompleted is 25% of all new code.

        When you dig past the clickbait articles and find out what he actually said, you’re correct. He’s jerking himself off about how good his company’s internal autocomplete is.

        • GaveUp [she/her]@hexbear.net
          link
          fedilink
          English
          arrow-up
          22
          ·
          23 days ago

          I’m not going to read it but I bet it’s nowhere near as good as he thinks it really is

          I wouldn’t be surprised if the statistics on “AI generated code” was like, I type 10 characters, I let AI autocompleted the next 40 characters, but then I have to edit 20 of those characters, and the AI tool counts “40 characters” as “AI generated” since that was what was accepted

          Not to mention since it’s probably all trained on their own internal codebase and there’s a set certain coding style guide, it’d probably perform way worse for general coding if people weren’t all trying to code following the exact same patterns, guidelines, and libraries,

      • hexaflexagonbear [he/him]@hexbear.net
        link
        fedilink
        English
        arrow-up
        13
        ·
        23 days ago

        I assume that’s what it is as well. I’m guessing there’s also a lot of boilerplate stuff and they’re counting line counts inflated by pointless comments, and function comment templates that usually have to get fully rewritten.

  • dave@feddit.uk
    link
    fedilink
    English
    arrow-up
    39
    ·
    23 days ago

    I write minified JavaScript and the AI pretty-prints it with 8-space indentation. That’s well over 25% by weight.

  • KoboldKomrade [he/him]@hexbear.net
    link
    fedilink
    English
    arrow-up
    21
    ·
    23 days ago

    Lol I’d bet 90% of that is of equal quality to the code you get by measuring lines written.

    Another 9% is likely stolen.

    The final 1% won’t even compile, doesn’t work right, or needs so much work you’d be better off redoing it.

    The only useful result I’ve had with CS is asking for VERY basic programs that I have to then check the quality of. Besides that, I had ONE question that I knew would be answered in a text book somewhere, but couldn’t get a search hit about. (I think it was something about the most efficient way to insert or sort or something like that.)

    Worked with it a bit at work and the output was so unreliable I gave up and took the best result it gave me and hard coded it so I could have something to show off. Left it as a “in the future…” thing and last I heard its still spinning in the weeds.

    • albigu@lemmygrad.ml
      link
      fedilink
      English
      arrow-up
      2
      ·
      21 days ago

      I often help beginners with their school programming assignments. They’re often dumbfounded when I tell them “AI” is useless because they “asked it to implement quicksort and it worked perfectly”.

      The next batch of software engineers are going to have huge dependency problems.

  • TheDoctor [they/them]@hexbear.net
    link
    fedilink
    English
    arrow-up
    9
    ·
    23 days ago

    In what kind of workflow? Because if I start typing, my copilot generates 20 lines, and I edit that 20 lines down to 5 that will compile and bear little resemblance to what was generated, I feel like that should count as 0 AI lines, but I have a feeling it counts for more.

  • menixator@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    7
    ·
    23 days ago

    Riiiight. And I bet he’d tell you that 25% of their servers were powered by cold fusion if it were the newest thing that got investors to throw bags of money at them.

  • albigu@lemmygrad.ml
    link
    fedilink
    English
    arrow-up
    2
    ·
    21 days ago

    We’re also using AI internally to improve our coding processes, which is boosting productivity and efficiency. Today, more than a quarter of all new code at Google is generated by AI, then reviewed and accepted by engineers. This helps our engineers do more and move faster.

    When text editors automatically create templates for boilerplate, that’s AI.

    Source