back to article 30 percent of some Microsoft code now written by AI - especially the new stuff

Microsoft CEO Satya Nadella has claimed about thirty percent of code in at least some of the Windows titan's repositories was written by an AI. Nadella revealed that number during an interview with Meta boss Mark Zuckerberg at the latter mega-corp's LlamaCon event this week. A few minutes into their chat Zuck asked Nadella, “ …

  1. xyz Silver badge

    Only 30%?

    We've gotta have a competition to give a name to whatever hellchild is an amalgam of word excel and PowerPoint... Jesus WEPP?

    1. Joe W Silver badge
      Pint

      Re: Only 30%?

      This explains a lot of things...

      ... and should serve as a warning example.

    2. Anonymous Coward
      Anonymous Coward

      Re: Only 30%?

      Based on personal experience I would guess that software engineers are using AI in development 30% of the time.

      1. Rich 2 Silver badge

        Re: Only 30%?

        I think it must very much depend on the type of software. In my experience, that figure is closer to 0%

    3. Lee D Silver badge

      Re: Only 30%?

      It'll be something like WorXPoint and everyone will go "what the hell".

      But actually it's more likely something like SuperDuperMerger and people will have no idea what it's supposed to be.

      1. An_Old_Dog Silver badge

        Re: Only 30%?

        It's supposed to be LibreOffice-killer.

        MS: "Hey, open-sourcers ... implement this!"

        1. MonkeyJuice Bronze badge

          Re: Only 30%?

          [Windows has encountered a problem]

    4. AMBxx Silver badge
      Holmes

      Re: Only 30%?

      Microsoft 123.

      Lotus had WYSIWYG text in their spreadsheet and tried to present it as a word processor before they had Amipro (I forget the details).

      Look how well it worked for them!

      1. Uncle Slacky Silver badge

        Re: Only 30%?

        You mgiht be thinking of the (original) Lotus Symphony: https://en.wikipedia.org/wiki/Lotus_Symphony_(MS-DOS)

        1. AMBxx Silver badge

          Re: Only 30%?

          No, it was definitely Lotus 123. I remember a young trainee being sent on a training course for Lotus. When she returned, she insisted on using Lotus as a word processor.

          It was DOS though.

    5. Anonymous Coward
      Anonymous Coward

      Re: Only 30%?

      an amalgam of word excel and PowerPoint.

      World Exception Power

      1. Anonymous Coward
        Anonymous Coward

        Re: Only 30%?

        an anagram of word excel PowerPoint is excretion plow powder

    6. snowpages
      Joke

      Re: Only 30%?

      Buggy McBugface obviously :)

      1. snee

        Re: Only 30%?

        well played sir/madam/AI

      2. M.V. Lipvig Silver badge

        Re: Only 30%?

        I see you're trying to write a letter to Grandma. Would you like that in the form of a spreadsheet?

    7. Doctor Syntax Silver badge

      Re: Only 30%?

      It depends on what's meant by that. Individual LibreOffice applications are calls to a common executable with a flag to tell it whis functionality the user wanted. He might simply be catching up with that but it would likely be a complete rewrite. Something for Office users to look forward to.

    8. Dai_Webb

      Re: Only 30%?

      Surely they'll call it "Office App"?

    9. An_Old_Dog Silver badge
      Joke

      Code Merge

      So Microsoft is, by merging its three primary end-user apps, attempting to create a propeietary version of Emacs.

    10. Anonymous Coward
      Anonymous Coward

      Re: Only 30%?

      It's not a "hell child" it's "a living artifact."

      So the Antichrist then?

  2. ColinPa Silver badge

    writing code is only part of the equatation

    and do they use AI to write the tests to test the generated code? Is this marking your own homework, and cannot see the defects because it didn't see them in the first place?

    1. 45RPM Silver badge

      Re: writing code is only part of the equatation

      Yes. Exactly this. Thumbs up. I don’t think I have a problem with some code being written with the help of an AI. That’s just code monkeying. But tests? The formal declaration of the specification? The do you really understand what the hell you’re supposed to be developing? Seems like a bad idea to me.

      1. Terry 6 Silver badge

        Re: writing code is only part of the equatation

        This was my thought. It's been many decades since I wrote (first as a schoolboy and then skilled amateur- but in those days most of us were) any software. The hard part wasn't writing the code. It was working out what I needed the code to do- and who for and what they'd do with it, and why. That sort of human stuff.

    2. Yorick Hunt Silver badge

      Re: writing code is only part of the equatation

      "do they use AI to write the tests to test the generated code?"

      Testing??? This is Microsoft we're talking about - testing is done by the plebs customers!

  3. b0llchit Silver badge
    WTF?

    Number game bullshit

    I call complete and utter bullshit on these numbers. If they were true, then the whole software industry would already be in complete uproar and upside down.

    1. Richard 12 Silver badge
      Holmes

      Re: Number game bullshit

      30% of some projects

      (My emphasis)

      Two is "some". Maybe just the one, rounded up.

      I suspect this is probably the internal test project for Copilot, and it represents the absolute best they could get to compile.

      Run? Nah, it doesn't need to run!

      1. b0llchit Silver badge
        Coat

        Re: Number game bullshit

        It compiles, lets put it in production...

        1. David 132 Silver badge
          Thumb Up

          Re: Number game bullshit

          “…it doesn’t compile, let’s put it in production anyway and fix it next Patch Tuesday.”

      2. Will Godfrey Silver badge
        Thumb Down

        Re: Number game bullshit

        Exactly! 30% of 'some' is totally meaningless!

    2. Primus Secundus Tertius

      Re: Number game bullshit

      The software industry is already upside down. Why do they have to keep patching the rubbish product. I am glad I don't have to patch my car every year or more.

      1. snowpages

        Re: Number game bullshit

        If you had a Tesla you would have to do exactly that...

      2. MachDiamond Silver badge

        Re: Number game bullshit

        "Why do they have to keep patching the rubbish product"

        Somebody had a good idea for a product that management liked and the MBA's filled in the publication date on their calendars. All hail the Calendar. It was releases on that date since waiting any longer would "bankrupt the company" and some other company had caught wind of it and might be first to market if they don't get it out.

        Go buy a Tesla and it will need a patch much more frequently than once a year.

    3. Adrian 4

      Re: Number game bullshit

      He says 30% of the code in the repos, He doesn't say where those repos are against the product release.

      It will be interesting to see how buggy the next release is.

      He also doesn't indicate how that code gets in the repo, but implies the statistic is from committer status. So if he's got 30% of his repos due to uncurated AI commits the next release is going to be .. interesting. I'd hope for his sake that all the commits were made by humans, after testing, and 30% is the proportion that used AI assistance on the changes.

    4. owlstead

      Re: Number game bullshit

      These are true. They asked their LLM and it immediately returned with these numbers.

    5. ecofeco Silver badge

      Re: Number game bullshit

      Uhm, it's already upside down and has been for a very long time.

      It's easier than ever to believe 10 impossible things every morning.

  4. HMcG

    LLM inference training is by its very nature lossy, and as a result LLM generated code quality is significantly poorer than the average quality of the code used to train it.

    This would normally be a concern , however for Microsoft, below average probably represents a huge increase in code quality, going by the number of critical flaws patched every single month. I can see why they are so keen on it.

    1. Lee D Silver badge

      It's not having the LLM write code that's the problem.

      The problem is how the hell are you testing or debugging that? Because tests can't ALSO be written by AI, and debugging something that another human has written is bad enough, or even something that YOU WROTE YOURSELF. Trying to debug some spam-churn out of an LLM? No thanks, I'd rather be out of work.

      1. cookiecutter

        Testing? This is MICROSOFT!! Testing is for losers....

        1. Anonymous Coward
          Anonymous Coward

          That's what end-users are for.

      2. Adrian 4

        To be fair (and I'm not), it could be done by a DIFFERENT AI, preferably separately trained with different data.

        1. Lee D Silver badge

          Only if you're prepared to tell all your customers: "Sorry, no human was ever involved, our AI just did this, not our fault".

          Good luck with that.

          1. Doctor Syntax Silver badge

            Given the spin that's put out about AI half the people would believe that and the other half would be saying "It can't be worse".

      3. MachDiamond Silver badge

        "Trying to debug some spam-churn out of an LLM? No thanks, I'd rather be out of work."

        If you've got the point where you are chasing the bugs around, there's been a person or team that knows what's gone into the software, what it's supposed to do, how it goes about doing that thing and where an odd problem's source might be found. To polish up an AI written thing, where do you start? What was the overall approach? Are there modules or is it all one giant mish-mash.

        If you've ever seen structures that were designed entirely by something non-human, you notice how oddly organic it looks. Yep, it's hit the design criteria with the least amount of material, but how do you make the thing in production? 3D printing is glacially slow and one has to factor in that the material doesn't have the same structural specs as the same stuff in a more homogeneous form. A big part of design can be optimizing the thing so it can be built at a price and at a pace. I've printed some really wild computer generated things on my filament printer that could never be turned into a product. As a hobby production, who cares about price/time if you can afford it?

    2. Anonymous Coward
      Anonymous Coward

      This would normally be a concern , however for Microsoft, below average probably represents a huge increase in code quality, going by the number of critical flaws patched every single month. I can see why they are so keen on it.

      I'm not so sure.

      Given the IMHO rather dramatic decline in (remaining) quality of their latest releases I'd argue they have actually started this a while back, in which case the promises of Microsoft that this would somehow improve have about the same value and persistence as one from Trump.

      For instance, the new Outlook is so feature deficient that it's almost not usable for users who have come to rely on those features. For instance, personally I loath Microsoft deciding that urgent messages cannot be simply merged in the new date sort and will ALWAYS appear first. I can see why that is important for some, but not for everyone and it is in my opinion becoming very clear that Microsoft has simply stopped listening to its users, because, let's face it, it's not like a majority of them even has a choice..

  5. sarusa Silver badge
    Devil

    Well that certainly explains Windows 11 and Copilot

    Windows 11 has completely gone to shite and Copilot has never been anything other than complete shite.

    If they were 30% written by 'AI' that would explain a lot.

    1. PCScreenOnly

      24H2

      Ai increases explain this abomination

  6. SomeRandom1
    Facepalm

    Explains everything

    It all makes sense now. no real people coding, garbage churned out based on historic questionable code. No-one understanding it, or testing it internally.

    "Ship it to the users, let them find the bugs"

    As for a uber-app combining Word, Excel and electronic crayons. The users I've witnessed can barely operate the stand alone applications, dread to think the support calls which will come for someone who can't format their table into columns like Word while making it fly in like PowerPoint.

    I suppose eventually they'll shoe-horn Outlook into this abomination too. Programs aren't complete until they can email.

    1. ecofeco Silver badge

      Re: Explains everything

      Naw, this is M$ long before AI.

  7. ComputerSays_noAbsolutelyNo Silver badge
    Joke

    The curse of recursive Clippy

    It seems like you are .. It seems like you are .. It seems like you are ..

  8. Neil Barnes Silver badge

    the blurring line between documents and applications

    One ring to rule them all? No thanks...

    I make data. I choose a program to generate it; I choose a program to process it. Those two programs may or may not be the same as each other; there may be more than one choice in either field. But _I_ choose...

    1. Brewster's Angle Grinder Silver badge

      Re: the blurring line between documents and applications

      The end point they're aiming at is you write a description of what you want done with the data, and it's done for you. You don't have to worry about the software. It may pick the package for you. Or it may even code it on the spot.

      Whether we get there or not, I don't know. But that's the vision. My guess is it will work for low hanging fruit. Where the boundary between low and high is, I don't know.

      1. Adrian 4

        Re: the blurring line between documents and applications

        That's how programming already works. We write a functional description (we call it the spec), then we write a procedural description (we call it the code) then machines write a register-level description (we call it the executable).

        In general, the functional description is incomplete and the programmer makes a bunch of judgement calls to turn it into a procedural description. This results in bugs. You can significantly reduce the number of bugs by having a more thorough functional description, but the people who write those aren't generally capable of doing better, which is why they don't.

        Having AI do the procedural 'compilation' puts the onus on the functional spec writer to write a good spec. That's not going to happen.

  9. Anonymous Coward
    Anonymous Coward

    Yikes

    See title

  10. David Newall

    "Zuckerberg said he thinks AI coding presents an opportunity to improve security"

    He's underselling. The more AI-written code you release, the more opportunities you'll have to improve security.

    1. ecofeco Silver badge
      Thumb Up

      I see what you did there.

  11. Anonymous Coward
    Anonymous Coward

    Symphony / framework III

    Nadya needs to look at the past - kind of

    Couldn't do graphics, but everything else in one

    1. Doctor Syntax Silver badge

      That approach works

      libreoffice24.8 -writer

      libreoffice24.8 -calc

      etc.

  12. Primus Secundus Tertius

    Feeble Point

    I cannot understand why the trade press burbles on about Power Point. The programs I use, in order of importance, are One Note, Word, and Excel.

    1. Terry 6 Silver badge

      Re: Feeble Point

      I have to say that's what I use too. PowerPoint,or its LO equivalent, is something I have in the background when I'm doing my voluntary "Digital Champion" thing, because Local Authority corporate requires it, and which I pretty much ignore after I've done the "housekeeping" slides.

      If you need a long flow of slides behind you to say what you are meant to be telling the audience, you aren't telling the audience properly.

      1. ColinPa Silver badge

        Re: Feeble Point

        The long list of charts is so when they come back to look at the stuff6 months later they think ! Ah yes, I remember. Without these... people forget or misremember.

        Also think of the people who's first language is not English

        1. Terry 6 Silver badge

          Re: Feeble Point

          That would make sense if the PP slides were helpful 6 months down the line. I've yet to be given any which were.

          Most of my "residents" speak very limited English. And yes an occasional PP slide can be helpful, but mostly I control my language and use demonstrations of the actual work done. With the PP minimised.

      2. Doctor Syntax Silver badge

        Re: Feeble Point

        "If you need a long flow of slides behind you to say what you are meant to be telling the audience, you aren't telling the audience properly."

        That's bad. OTOH you might have a long flow of slides which you explain to the audience - actual photographic slides, not text. I used to have a carousel of slides illustrating all sorts of things - altered documents, comparison microscopy, footprints etc. I could pick that up, collect a projector and give different talks depending on the audience, anything from schools to detective training.

        PowerPoint and Impress certainly make it too easy to put the text of the talk on the screen; what's on the screen should really be something to talk about.

        1. Terry 6 Silver badge

          Re: Feeble Point

          Totally agree. Whether that needs to be PP is another question..

    2. Doctor Syntax Silver badge

      Re: Feeble Point

      For some manglers PowerPoint is all there is.

      It's also useful if you have to give a lot of talks. Carrying a USB stick beats lugging a Carousel and slides around.

      1. MachDiamond Silver badge

        Re: Feeble Point

        "Carrying a USB stick beats lugging a Carousel and slides around."

        It's just as easy to carry around a tablet with a couple of adapters to be able to plug into the AV system. I'd use my laptop since I'm going to have that with me anyway so it's pointless to also haul around a tablet. A backup on a USB stick is good practice. It will mean you would be using somebody else's computer with Bog knows what on it and how it's been configured.

  13. elsergiovolador Silver badge

    Shows

    It shows.

  14. PM.

    God ...

    .. help us all

  15. Anonymous Coward
    Anonymous Coward

    Error Handling?

    The AI would respond,

    My code is perfect and does not need any error handling as nothing will go wrong with it.

    But.... every system has defects? asks the humanoid.

    Exterminate... Zap....Kill.

    MS has clearly been corrupted by the AI hype. I'm so glad that I'm MS free. (and google for that matter)

    1. Adrian 4

      Re: Error Handling?

      Congratulations to MS for eating their own dogfood (or believing their own marketing hype).

      I'm getting some popcorn in.

      1. David 132 Silver badge

        Re: Error Handling?

        Not dogfood. Other end of the dog.

  16. Anonymous Coward
    Anonymous Coward

    Is this why

    Is this why it's common to see a Microsoft status report on Xitter about an outage on one of their platforms that's followed by another announcement that they have isolated the fault to a recent update or patch and they're in the process of rolling it back?

  17. Burgha2

    A single

    A single program for word processing, spreadsheets and presentations?

    Isn't that excel?

    1. Jou (Mxyzptlk) Silver badge

      Re: A single

      You forgot gaming in Excel.

      1. that one in the corner Silver badge
    2. MachDiamond Silver badge

      Re: A single

      "Isn't that excel?"

      And if you need to take some photos for marketing, you can use your iPhone. A band wants to have a music video, bam, iPhone. etc ad nauseum.

      Yes, the above things 'could' be done with an iPhone, but you have to twist and contort your workflow to do it that way. A commercial photographer I know told me he doesn't "need" his 100mp camera to make photos for clients. He could make the same images with an iPhone. The trouble would be that the files would be what they are. There wouldn't be the margin to do much pushing and pulling in editing. There wouldn't be the ability to just use "this little piece of the photo over here" since that selection by itself wouldn't have enough resolution to be useful and that's often a big request after a photo session. it's more efficient to use good tools that were built to accomplish the job rather than driving nails with the adjustable spanner.

  18. Anonymous Coward
    Anonymous Coward

    Full Circle

    I can remember very early Windows that DDE or early OLE poster child was a spreadsheet embedded in text document with the magic of the embedded spreadsheet updating in real time as the user worked on the sheet in excel (or whatever.)†

    All a bit like the Harry Potter movie's newspapers.

    Problem was I have never encountered anyone that wanted this behaviour and most would find it a complete embuggerance if it were the default.

    At the time I thought that implementing this stuff would pretty much a dawdle in Smalltalk 80.

    I heartily encourage both Nadella and Zuckerberg to bring on their AI transfiguration. :)

    † I don't recall whether it worked both ways viz if the embedded spreadsheet could be modified in Word (or whatever) with the changes propagating to excel.

    1. Burgha2

      Re: Full Circle

      "Problem was I have never encountered anyone that wanted this behaviour and most would find it a complete embuggerance if it were the default."

      Indeed. Nothing worse than the text of the report not matching the graph and the excel snippet, because someone's been working on the spreadsheet after you finished the text.

      Yes, you could do proper document control and the like, but for 99.9857% of reports that effort simply isn't justified.

  19. anthonyhegedus Silver badge

    Can the code be any more unreliable than it is now with AI?

    It's all part of the enshittification of everything

    1. Zippy´s Sausage Factory

      Can it be any more unreliable? Why yes. Yes it can. And I think we're about to find out how much more unreliable it can be.

  20. Anonymous Coward
    Anonymous Coward

    To be fair, it’s probably an improvement on the crap they’ve been churning out for the last couple of decades. Can’t be any worse.

    1. ecofeco Silver badge

      Exactly. At worst, how will we tell the difference?

  21. OhForF' Silver badge
    FAIL

    Dreams of magic wonderland

    >The Meta man said “the big one that we're focused on is building an AI and a machine learning engineer to advance Llama development itself.”<

    Is Zuck really thinking a lossy statistic engine feeding on its own dog food will tune itself to perfection or keep improving itself beyond any limit and thus become truly intelligent?

  22. Terry 6 Silver badge

    Microsoft Works

    Wasn’t that a single integrated programme. Wikipedia and my fading memory both seem to thinks so.

    And it was all most of us needed. And affordable (or free).. So they scrapped it.

    https://en.wikipedia.org/wiki/Microsoft_Works

    1. David 132 Silver badge
      Coat

      Re: Microsoft Works

      They had to scrap it, because the phrase “Microsoft Works” fell foul of Truth In Advertising laws.

  23. tiggity Silver badge

    Please make this make sense

    "The Microsoft CEO said plenty of the company’s code is still C++, which he rated not that great”. Microsoft maintains a lot of C++ too, and Nadella said it’s in “pretty good” condition"

    Should the first reference be just C instead of C++

    Or, should first C++ remain "as is" and second reference be C#?

    ....Was that part of the article written by "AI"?

  24. dandandandandan

    Someone help me make sense of this

    I've read the following several times and still can't make sense of it, maybe it's too early in the day.

    So is the C++ code not that great or is the C++ pretty good?

    The Microsoft CEO said plenty of the company’s code is still C++, which he rated "not that great." Microsoft maintains a lot of C++ too, and Nadella said it’s in “pretty good” condition while more recent Python is “fantastic.”

  25. Anonymous Coward
    Anonymous Coward

    MS AI Devs

    The fact that MS is using AI to develop its products will come as no shock to anyone around here.

    I wonder if they're eating their own vomit i.e. using Co Pilot.

    Having used a number of AI tools recently, Co Pilot was significantly worse than a number of other bug ridden tools.

    I think I understand now why the W11 UX is as pleasent as standing behind a hippo in gastrointestinal distress

  26. navarac Silver badge

    Windows 13

    So: AI+ Windows+AI+Word+AI+Excel+AI+Powerpoint+AI+Copilot+AI=Windows 13/AI.

    I'll say it again - Microshaft has lost the plot and Nadella has lost his marbles.

POST COMMENT House rules

Not a member of The Register? Create a new account here.

  • Enter your comment

  • Add an icon

Anonymous cowards cannot choose their icon

Other stories you might like