frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Satya Nadella says as much as 30% of Microsoft code is written by software

https://www.cnbc.com/2025/04/29/satya-nadella-says-as-much-as-30percent-of-microsoft-code-is-written-by-ai.html
48•shinryudbz•6mo ago

Comments

anovikov•6mo ago
The Clippy strikes back
GianFabien•6mo ago
Clippy v1 writes Clippy v2 writes v3 .....

Next Windows or Office download = 4.79 TB

pjmlp•6mo ago
Nope, you will be using an OEM version of Windows 365 Link to connect to the Windows CoPilot 365 instance on Azure.
taubek•6mo ago
30% of new code, or of all existing code?
mkl•6mo ago
The way he phrased it, it's existing code, though he doesn't say it's by AI. From the article: “I’d say maybe 20%, 30% of the code that is inside of our repos today and some of our projects are probably all written by software,”
casenmgreen•6mo ago
1. Has the total amount of code risen, such that the amount of human code is unchanged?

2. What's the bug rate like from AI code? is MS investing the time to check this code, or assuming it is correct?

3. Who writes the test cases?

4. 30% in what terms? number of lines of code? number of commits? what code is in play here? bulk test code, which is huge and per-line very low value, or is this serious, difficult, complex code used in critical project functions?

5. How much design work is being performed by LLM? as opposed to churning out lines of code.

6. Do the developers actually trust this code and trust LLMs for this, or is it they have a KPI they have to meet and so everyone now has "30% LLM code", all of which is pretty much useless?

johngossman•6mo ago
These are the questions I came here to ask.
Mountain_Skies•6mo ago
7. If the code causes damage, who will be held responsible?
InsideOutSanta•6mo ago
8. How much of that "software-written" code is stuff like Intellisense completing method names?
nottorp•6mo ago
> is MS investing the time to check this code, or assuming it is correct?

The spyware part is manually reviewed, the rest... not so much.

wolvesechoes•6mo ago
People are going to ask if this is true etc. Not understanding that is doesn't matter if it is true, or if it is rather 20%, 2% or 40%, if it is new code or else.

What matters is what "investors" and bean counters believe to be true. Not much relief in knowing that they are wrong, when you lose your job or your working conditions suddenly become much worse.

surgical_fire•6mo ago
This is sort of the correct answer. But it also doesn't matter.

AI can replace devs or they can't. And it is sort of weird that people think about how many lines of code they output.

It is weird, because it has been a very long time that writing lines of code is far from being my main activity, even if it is the part of the job I like the most. I wonder where exactly people work where this is their main activity if they are not junior developers anymore.

Yeah, LLMs are sort of useful at spitting out code, if you know how to code. It can output code faster than you, and if you have good domain knowledge you can proofread it for the inevitable bullshit/bugs.

That's about it. Even to write decent prompts to guide it you need to understand well the domain to get it working.

krige•6mo ago
You know, there's a really obvious, snide comment to that.

But instead I'll just say I'm curious about the next Windows edition. Traditionally it would be time for it to be the "not as terrible" one, which many currently on W11 would probably welcome with very, very open arms. Would that still hold?

Would there even be a Windows 11? (or, by MS naming schemes, Windows Series W or something)

miyuru•6mo ago
next would be "Windows AI"
pjmlp•6mo ago
CoPilot Windows OS, running on CoPilot+ PC, obviously.
barotalomey•6mo ago
RIP Microsoft
croes•6mo ago
Given all the bugs with each update doesn’t seem to improve the quality.
GianFabien•6mo ago
MS AI is trained on existing MS code = bug multiplier.
n_ary•6mo ago
Hmm... But SN himself is not writing code or involved in day to day development. He can claim anything and his incentives are 100% aligned to claiming AI bs.

In similar development, as much as 98% AI generated code wastes my time because I need to delete or press escape to stop the auto completion because a) it is spewing code from official doc verbatim, b) risks injecting licensed code into the product and getting my employer on legal fire, c) it is wrong and exactly not what I want.

faragon•6mo ago
Translated: same engineers are more productive by using IA.
lm28469•6mo ago
You can produce lot of code with zero or negative real productivity
faragon•6mo ago
Yes. And that can happen with and without IA.
ionwake•6mo ago
Sorry if this is unrelated.

I still remember as a 25yr old programmer in England, attending a job in what was basically a porta-cabin in the countryside around Birmingham. Inside all the walls were covered in 1980s "Hang in there" motivational posters, only they were originals and it was unironic ( it was like a time capsule ). After shocking the boss by agreeing to a cup of water offered by the secretary which caused a massive problem as they had no glasses, the over weight boss sat me down and asked me:

"What percentage of windows is written in C++?" The position was for web development...

I guessed correctly ( it was about 40% ).

I then apparently failed the interview as he suddenly asked me if my girlfriend wanted to interview for the position ( there was no indication she was even in the field of CS ).

The moral of the story is apparently the code ratio of Microsoft products is a big deal to random middle managers in the black country. ( Thats what the region is called because the soot from coal mining would blacken the landscape - yes its what Mordor was based on by Tolkien).

mosdl•6mo ago
Sounds like a great sitcom idea
ken47•6mo ago
Written by software != written by AI. But CNBC has to pump.
Tade0•6mo ago
That's still a huge indictment towards the languages/libraries they're using.
touisteur•6mo ago
So much code everywhere is parsers and plumbing. Have it all generated, model-checked, proved, inspectable, debuggable... Pieter Hintjens said it better than I could https://github.com/imatix/gsl?tab=readme-ov-file#model-orien...
WhyIsItAlwaysHN•6mo ago
Very often the code looks like:

fn actualLogic(param, param, param) ...

switch (some Condition) { case a: actualLogic(Foo, bar) ; case b: actualLogic(bar, Foo) ; ... }

It might be expressed with if statements, pattern matching, function calls etc., but most of the code is boilerplate.

From my experience in a C# codebase most of the code which completes correctly is this boilerplate.

O3/Sonnet/Gemini are able to write actual logic in chat/agent mode sometimes but then the problem is that they rewrite too much, which would count as AI generated code.

These two factors probably play a huge role in the 30% if it's counted in any accurate way.

nuc1e0n•6mo ago
If true, the methodologies and languages they use must be quite inefficient if they can be automated by machines like that.
fvdessen•6mo ago
I recently rewrote a 40K lines application to 2K lines. Mostly by using newer tech and better design patterns. (Java to TS, Terraform to CDK, lambda soup to single app, etc.). It was a POC at work to show how things could be different. You'd think this would have made some devs rethink their approach, but no they're using AI to write even more code faster in the old approach.
arnaudsm•6mo ago
I've witnessed projects beind rewritten using Cursor, with 10x more code & dozens of bugs no one noticed.

Vibe coding is the new offshoring.

wongarsu•6mo ago
No, he doesn't say that. He said that "maybe 20%, 30% of the code that is inside of our repos today and some of our projects are probably all written by software". A guy like Nadella doesn't accidentally say software instead of AI. He knows exactly what he is saying.

Considering that most of their software has been developed for decades and AI assistants have only started becoming useful in the last ~4 years it would be very surprising if 30% of their code is AI written. I doubt they even touched 30% of their code in the last 4 years. But what is perfectly plausible is that 30% of their code is written by code generators. Microsoft has a lot of interface code. All the windows DLLs that are just thin syscall interfaces, the COM and OLE interfaces in their office suite and everywhere else, whatever Office uses nowadays for interoperability to allow you to embed content of one product in another, whatever APIs their online products use, etc. In the leaked Windows XP source code it can be difficult to find the actual source code in between the boilerplate files containing repeated definitions, and in the decades since then the world has only leaned more into code generation.

duttish•6mo ago
I'd guess they also have various tools for large scale fixes/refactoring, and the output from those could count as well.
abanana•6mo ago
And not only that, but how much vagueness and weasel-wording can he pack into one sentence?

"I’d say maybe 20%, 30% of the code that is inside of our repos today and some of our projects are probably all written by software".

> He knows exactly what he is saying

Very much so. He's plainly pulled those figures out of his arse, keeping it vague so he can't be blamed later for lying, for nothing more than "look how much we use AI" marketing purposes.

franktankbank•6mo ago
Ya, I'ma go ahead and flag this. What trash journalism.
surgical_fire•6mo ago
> No, he doesn't say that. He said that "maybe 20%, 30% of the code that is inside of our repos today and some of our projects are probably all written by software".

Ouch, this makes the headline not sinply inaccurate. It makes the headline false.

Having generated code is nothing new. Multiple companies I worked for in the past had a lot of automatically generated code for multiple things (from automatically generating tests for API contracts to automatically generating glue code between different modules/services).

Callong that "AI" borders on the level of malicious ignorance.

cholantesh•6mo ago
>Ouch, this makes the headline not sinply inaccurate. It makes the headline false.

To be fair, Hanlon's razor suggests it was most likely written by someone who _would_ conflate software with AI. Though knowing the reward structures in '''journalism''', it could still be deliberate.

dang•6mo ago
Ok, we've replaced AI with software in the title above. Thanks!
_mlbt•6mo ago
I would say that most mainstream software projects have a significant amount of code that has been generated by software. IDE new project wizards, Rails, Django, NextJS, create-react-app, etc. are all software that generates code.
snickell•6mo ago
I use AI heavily in my own programming, so I’m not against, but I suspect this “as much as” is mostly copilot doing “tab completion” style autocompletions, not AI writing and modifying functions on its own.
ZoomZoomZoom•6mo ago
Just imagine how much better would it look if it said "30% of our code is removed by AI".
ankurdhama•6mo ago
Hey Satya, you should ask Windows 11 taskbar team to use "AI" to write code so that the taskbar is resizable and can be moved. Let's see how good the AI is.
grishka•6mo ago
But you don't need AI to undo a bunch of commits
jgaa•6mo ago
That explains a lot.
godelski•6mo ago
I think 60% of my code is written by vim. I make pretty heavy use of competitions, especially contextual compilations. Anything longer than 3 characters is only going to be typed once
apercu•6mo ago
Well that explains a lot ;)
enigma101•6mo ago
Misleading clickbait
j4coh•6mo ago
“As much as” are weasel words to help them sell their AI coding products to others.
shrubble•6mo ago
I’m a daily user in a corporate environment of Outlook, MS Teams, Sharepoint etc.

MS Teams is using 1200 MB of RAM when it starts running. Skype for Business used less than 180 MB, same functionality.

Outlook is completely unusable at 1366x768 resolution (which only shows up when you use your laptop while traveling!)

I predict that soon you’ll see some large corporations publicly switching to other solutions; the path MS is on which neglects these kinds of problems, will be a natural progression.

sys_64738•6mo ago
Maybe the majority of that is for code comments and formatting.
colonial•6mo ago
If this is true (it isn't) then no wonder the web version of PowerPoint was so shit when I was forced to use it earlier today. Constant lag, random buffering popups, janky element snapping that can't be turned off...

I hate Google just as much, but at least their web office suite just works on the rare occasion I need a collaborative document.

amai•6mo ago
Only 30%? Given Microsofts product quality I would have guessed a much higher percentage of vibe coding going on at Microsoft.
nipperkinfeet•6mo ago
It's not surprising that the quality of their software has declined since Windows 10. How many months did it take to design a simple battery level icon? Many recent KB updates were complete failures.
xracy•6mo ago
As originally written this headline is sensational. As now written, I would be surprised if this wasn't a bad estimate. Either way it's a meaningless number guessed off the cuff.

How much boilerplate code exists that gets generated from a template, probably most of it.

I built a notebook inside Obsidian

https://sinja.io/blog/how-i-built-notebook-in-obisidian-emera
1•OlegWock•45s ago•0 comments

Umami v3

https://umami.is/blog/umami-v3
1•ksec•56s ago•0 comments

End of the Line: How the Neom Line Unravelled

https://ig.ft.com/saudi-neom-lin
1•nvader•1m ago•0 comments

Intersectional Inequalities in Social Ties

https://www.science.org/doi/10.1126/sciadv.adu9025#
1•Anon84•3m ago•0 comments

Tesla delays 'flying' Roadster demo to April Fools' Day, production to 2027/28

https://electrek.co/2025/11/06/tesla-delays-roadster-demo-to-april-1-next-year-production-to-2027...
1•mikestew•3m ago•0 comments

Show HN: AI App Store with a User-Controlled Shared Memory Layer

https://aistore-y7gr.vercel.app/
1•emmanueldidymus•5m ago•0 comments

How we built the demo for the Current NOLA keynote using Kafka, Flink, and AI

https://rmoff.net/2025/11/06/how-we-built-the-demo-for-the-current-nola-day-2-keynote-using-flink...
1•rmoff•6m ago•0 comments

Let's Talk About the AI Bubble [video]

https://www.youtube.com/watch?v=fIcWfHikAOo
1•aaraujo002•7m ago•0 comments

Show HN: I built a tool to answer any League of Legends E-sports data questions

https://query.new/
1•XavierPladevall•9m ago•0 comments

Job cuts surge in worst October layoffs in 22 years

https://www.usatoday.com/story/money/2025/11/06/october-job-cuts-surge-worst-layoffs/87127775007/
1•speckx•9m ago•1 comments

MiseryMap

https://www.flightaware.com/miserymap/
1•sndean•10m ago•0 comments

Testing-MCP – Write complex integration tests for web app

https://github.com/mcpland/testing-mcp
1•unadlib•10m ago•0 comments

Phison CEO claims NAND shortage could last a staggering 10 years

https://www.tomshardware.com/pc-components/ssds/phison-ceo-claims-nand-shortage-could-last-a-stag...
1•walterbell•10m ago•0 comments

Why even a US tech giant is launching 'sovereign support' for Europe now

https://www.zdnet.com/article/why-even-a-us-tech-giant-is-launching-sovereign-support-for-europe-...
1•CrankyBear•11m ago•0 comments

This Week in AI Agents: Agents Are Learning to Browse, Buy, and Negotiate

https://thisweekinaiagents.substack.com/p/agents-learning-to-browse-buy-negotiate
1•joaoaguiam•11m ago•0 comments

Tuning TLS: AES-256 Now Beats ChaCha20 on Every Modern CPU

https://ashvardanian.com/posts/chacha-vs-aes-2025/
2•ashvardanian•12m ago•0 comments

Perplexitys First Research Paper – Point-to-Point Communication for LLM Systems

https://arxiv.org/abs/2510.27656
1•Alifatisk•13m ago•0 comments

Show HN: Free analyzer that finds outdated content before it kills your traffic

https://freshrank.ai
2•maldinii•14m ago•0 comments

Big YouTube channels are being banned. YouTubers are blaming AI

https://mashable.com/article/big-youtube-channels-terminated-creators-blame-ai
2•mostcallmeyt•14m ago•1 comments

Wikipedia co-founder joins editing conflict over the Gaza genocide page

https://www.theverge.com/news/813245/wikipedia-co-founder-jimmy-wales-gaza-genocide
1•mostcallmeyt•15m ago•0 comments

Bolivia's new president rekindles cautious hope for long-stalled lithium dreams

https://www.reuters.com/world/china/bolivias-new-president-rekindles-cautious-hope-long-stalled-l...
1•wslh•15m ago•0 comments

That email address contains five or more consonants in a row

https://www.clintmcmahon.com/Blog/email-address-contains-five-or-more-consonants
2•speckx•15m ago•0 comments

EIA: North America's LNG Export Capacity Could More Than Double by 2029

https://oilprice.com/Latest-Energy-News/World-News/EIA-North-Americas-LNG-Export-Capacity-Could-M...
1•PaulHoule•17m ago•0 comments

IncusOS – immutable OS run incus

https://discuss.linuxcontainers.org/t/announcing-incusos/25139
1•xlmnxp•18m ago•1 comments

The Internet: How HTTP and TCP Work [video]

https://www.youtube.com/watch?v=hyhaeJIeQac
1•artisandip7•19m ago•0 comments

Making MCP Tool Calls Scriptable with mcp_cli

https://www.joshbeckman.org/blog/practicing/making-mcp-tool-calls-scriptable-with-mcpcli
1•bckmn•20m ago•0 comments

Federal Judge Survey: Warns of Judicial Crisis, Faults SCOTUS Emergency Orders

https://www.nytimes.com/2025/10/11/us/politics/judicial-crisis-supreme-court-trump.html
2•mmooss•21m ago•2 comments

Avoid hyperfocus and keep a healthy work pace (as a dad of two)

https://www.devas.life/my-plan-to-avoid-hyperfocus-and-keep-a-healthy-work-pace-as-a-dad-of-two/
1•cmpit•24m ago•0 comments

Checking for Spam Content with Chrome AI

https://www.raymondcamden.com/2025/11/07/checking-for-spam-content-with-chrome-ai
1•speckx•24m ago•0 comments

Apple's fight with Europe continues as it removes iPhone feature in EU

https://www.the-independent.com/tech/apple-iphone-wifi-sharing-password-europe-eu-b2860173.html
2•refp•25m ago•0 comments