• buh [she/her]
    ·
    22 days ago

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

    • GaveUp [she/her]
      ·
      edit-2
      22 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]
        ·
        edit-2
        22 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]
          ·
          22 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]
        ·
        22 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
    ·
    22 days ago

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

  • adultswim_antifa [he/him]
    ·
    22 days ago

    Is that why search results are getting so much worse so fast and it tells you to eat rocks to stay healthy?

  • KoboldKomrade [he/him]
    ·
    22 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
      ·
      20 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]
    ·
    22 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.

  • kittin [he/him]
    ·
    22 days ago

    When dependabot makes a pull request, that’s AI

  • menixator@lemmy.dbzer0.com
    ·
    22 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
    ·
    20 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