frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Microsoft CEO says up to 30% of the company's code was written by AI

https://techcrunch.com/2025/04/29/microsoft-ceo-says-up-to-30-of-the-companys-code-was-written-by-ai/
24•pseudolus•1y ago

Comments

techpineapple•1y ago
> Of course, it’s unclear how exactly Microsoft and Google are measuring what’s AI-generated versus not, so these figures are best taken with a grain of salt.

This does seem to me to be the key question, is anyone transparent about this? If not, why not?

cratermoon•1y ago
Why not? They want companies to buy their AI enabled slop.
techpineapple•1y ago
Wouldn’t being transparent with how effective it was at writing code be a good sales tool?
sublinear•1y ago
Yes, and that's exactly why they're not transparent about it.
rsynnott•1y ago
Only if it's effective at writing code, which it of course is not.

Any time you see companies refusing to even vaguely define what metrics like this mean (or, for that matter, using non-standard metrics, like disclosing weekly active users but not monthly), it's generally a very strong signal that they're not interested in being transparent because the truth is, ah, not what they would like it to be.

hnav•1y ago
The perception of having fallen behind in AI adversely impacts your stock price, the amount of capital you can marshal to actually compete in AI. What I think is actually happening industry-wide is that any sort of "intelligence" in software is slowly being rebranded as AI.
dustingetz•1y ago
this was reported as actually just IDE tab completion back when google claimed this stat last year
bananapub•1y ago
google's internal and extremely sophisticated LLM completion thing is driven by IDE tab completion
dustingetz•1y ago
it also drives my gmail sentence autocomplete. it does not mean “30% of my email is written by AI”. It does help me type faster though. Reframing the one as the other is, imo, securities fraud. (I will asterisk that YC startups vibecoding their product is real, but that’s, like, 10^10 lower LOC scale than “all of Google”)
UncleMeat•1y ago
IMO, the key thing that software engineers want to know with these numbers is "is there still an engineer involved." In my mind LLM powered autocomplete that generates a lot of code is just totally different from "PM says they want this feature and the AI generates the entire thing from scratch" in that one amplifies the capabilities of an engineer while the other replaces them.
dustingetz•1y ago
who said anything about LLMs? Did Pichai specify that?
sublinear•1y ago
I swear it's as if the entire last 5 years of AI hype and sales were fueled by drugs.
SV_BubbleTime•1y ago
The last few years of AI have been the longest decade.
strix_varius•1y ago
...as anyone who's used MS Teams can attest.
lp0_on_fire•1y ago
Good news then. If the last update to Outlook I received is any indicator they're coming for that, next.
mgkimsal•1y ago
really really really depends on what sort of code is being 'written'. 20 years ago, IDEs would automatically create boilerplate getters and setters. In large projects that's a non-trivial amount of code. IDEs can autocomplete stuff already. For most of the folks I know doing non-trivial projects, AI tools are... useful autocompletes, but not much more. So... 25% of your code was done by AI but is it the hard nitty gritty stuff? The value prop of your whole company? Or is it just lots of boilerplate that is necessary because of all the abstractions we have at our disposal today (or... all the abstractions that are required to do anything 'modern' to use a negative light on it)?
alganet•1y ago
Percentages are misleading.

How many lines in a diff are actually relevant code? Anyone who does reviews knows the answer.

That is one of the reasons why lean, terse languages are often better to review.

We can guess by those companies preferred coding styles and technologies whether their codebases are lean and terse or full of straw. And that should give us an estimate.

Of course, I could be wrong. They could be doing this measurement after removing irrelevant changes.

The better choice would be not to publish those sorts of claims if there is not a clear methodology that explains how the number was achieved.

proc0•1y ago
Explains a lot.
snkzxbs•1y ago
I don’t believe that datum for a second considering how big their existing code bases are.
omneity•1y ago
It doesn’t have to be contiguous AI-written chunks. This could also mean X% accepted AI suggestions on Y% codebase where X*Y < 30%.

AI suggestions can also be as simple as autocomplete and still be counted for the sake of engagement metrics.

Oh and in enterprise settings and especially MS shops Github Copilot is being pushed everywhere, (forceful) adoption rates are much higher than the market average.

Hydraulix989•1y ago
Right, they're not going to want to risk breaking legacy application behavior.
pier25•1y ago
I don't believe it either but they probably meant 30% of the code committed not of their total codebase.
gorjusborg•1y ago
By trying to understand, I believe you are expending more thought and effort by far than was made to make the statement.
dessimus•1y ago
If any line of any codebase was written by AI, then up to 30% can be true, in the way that my ISP will claim ~900 Mbps still qualifies as up to 2 Gbps.
whobre•1y ago
And 75% of my code was “written” by copy/pasting…
CyberMacGyver•1y ago
Based on how overzealous these models[0] are to over engineer a solution it’s not surprising. I would imagine the real number is significantly lower.

[0] Claude 3.7 in my recent experience

williamtrask•1y ago
If this isn’t jumping the shark it’s darn close.
lotsoweiners•1y ago
Technically 0.5% qualifies as up to 30% to the marketing crowd.
andsoitis•1y ago
> Satya Nadella said that 20%-30% of code inside the company’s repositories was “written by software”

and

> The Microsoft CEO said the company was seeing mixed results in AI-generated code across different languages, with more progress in Python and less in C++.

So the CEO of Microsoft is saying that 20 - 30% of their code is being produced by computer systems that write poor code?

A4ET8a8uTh0_v2•1y ago
Honestly, it is disappointing. Even joke jobs are taken away by LLMs. For shame.
mech422•1y ago
So was it AI or code gen tools (interfaces generators, scaffolding, etc ?)
methuselah_in•1y ago
Horrible why would you not let people eat on earth and in the name of saving you take away jobs. Let the AI because helpful as a tool to help people not to just take away jobs.
maronato•1y ago
> Microsoft CEO Satya Nadella said that 20%-30% of code inside the company’s repositories was “written by software” — meaning AI

Does it mean AI though? Lots of lines in repositories are generated by software that isn’t AI. Dependency lock files, proto files, etc

IMO the wording is intentionally misleading.

karmakaze•1y ago
Lot of leeway there. Almost 100% of my source is written by my text editor.
returnInfinity•1y ago
Doesn't mean 30% more productivity
bananapub•1y ago
the actual quote (https://www.nbclosangeles.com/news/business/money-report/sat...):

> "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," Nadella said during a conversation before a live audience with Meta CEO Mark Zuckerberg.

which is clearly untrue, one assumes he meant "20%, 30% written since 2023 was partially generated by an LLM operated by a developer", but that doesn't sell stock.

masteruvpuppetz•1y ago
My current VBA coding is all generated by Chat-GPT/Claude/Deepseek.

There is no use of writing VBA these days :@

Ekaros•1y ago
Generated by software -> generated by AI seems huge logical leap. Then again maybe it can be for given meaning of "AI".

Not that 30% of code being automatically generated from templates or in some algorithmic way seem unbelievable. There is likely lot of code that could be generated by other code and it might even be reasonable choice.

More than half of pilots have fallen asleep while in charge of a plane (2013)

https://www.bbc.com/news/uk-24296544
1•johnbarron•29s ago•0 comments

Flipper: Beautiful, performant feature flags for Ruby

https://github.com/flippercloud/flipper
1•thunderbong•2m ago•0 comments

Analyzing the Patterns of Numbers in 10M Passwords (2015)

https://minimaxir.com/2015/02/password-numbers/
1•downbad_•4m ago•1 comments

Show HN: Looq, the capabilities macOS Quick Look should have shipped with

https://parcse.com/looq
1•parcse•4m ago•0 comments

Show HN: Capsule Bash – Sandboxed Bash for Agents

https://github.com/capsulerun/bash
1•mavdol04•4m ago•0 comments

Pomiferous: The most extensive apples (pommes) database

https://pomiferous.com/
1•Ariarule•6m ago•0 comments

How citations ruined science

https://davidoks.blog/p/how-citations-ruined-science
1•jprs•8m ago•0 comments

Are closed social networks inevitable? (2010)

https://danluu.com/open-social-networks/
1•downbad_•9m ago•1 comments

Knowledge Infra for Agents and Humans

https://dosu.dev
1•devstein•9m ago•0 comments

LandingRank – community-ranked landing page directory with daily Elo battles

https://landingrank.com
1•_FakeBanana_•10m ago•0 comments

Systems Are Visual – This Is a Better Way to Write Them

https://toolkit.whysonil.dev/lab-notebook/
3•otterwilde2•12m ago•0 comments

Vitexec – allow agents to test Vite apps through injected code

https://www.youtube.com/watch?v=yhIOSjp6pqs
1•BelaBohlender•12m ago•0 comments

They Left Receipts: Inside Charming Kitten's Crypto Procurement Network

https://caudena.com/charming-kitten-crypto-procurement-network/
2•caudena•14m ago•0 comments

8 in 10 Chatbots Inclined to Assist Users in Planning Attacks

https://www.statista.com/chart/36156/instances-where-chatbots-assisted-users-plan-a-violent-attack/
2•laurex•14m ago•0 comments

AI evals are becoming the new compute bottleneck

https://huggingface.co/blog/evaleval/eval-costs-bottleneck
2•gmays•16m ago•0 comments

Tera – System for structuring and testing complex ideas

https://github.com/Yggdrasilcsui/TERA/discussions/1�
2•Yggdrasilcsui•19m ago•0 comments

Ask HN: What's your favorite tech talk?

1•downbad_•20m ago•3 comments

Are you just an .md file?

https://deathbyclawd.com
1•laurex•21m ago•0 comments

When 'if' slows you down, avoid it

https://easylang.online/blog/branchless
1•birdculture•21m ago•0 comments

Cisco Announces End of Life for Smartlook

https://www.uxwizz.com/blog/smartlook-shutting-down
1•XCSme•21m ago•1 comments

Codex pets now work in Claude Code

https://github.com/danielkempe/clawdex
1•danielkempe•21m ago•1 comments

Computer Science, Software Engineering, and Vibe Coding

https://compsciforvibing.substack.com/p/computer-science-software-engineering
1•ingve•22m ago•0 comments

Poll: Midterms' new big players pushing agendas that voters don't support

https://www.politico.com/news/2026/05/03/poll-ai-crypto-super-pacs-voter-skepticism-midterms-0090...
1•1vuio0pswjnm7•22m ago•0 comments

Need Some Testers

2•kvthweatt•23m ago•1 comments

AI systems are about to start building themselves

https://importai.substack.com/p/import-ai-455-automating-ai-research
2•momentmaker•25m ago•0 comments

Chinese court rules companies can't fire workers just because AI is cheaper

https://www.tomshardware.com/tech-industry/artificial-intelligence/chinese-court-rules-companies-...
3•Imustaskforhelp•25m ago•0 comments

New Mexico seeks restrictions on Meta apps and algorithms in trial's 2nd phase

https://apnews.com/article/meta-new-mexico-social-media-child-safety-0ee254c8e8b37c9c28cea591d661...
1•1vuio0pswjnm7•26m ago•0 comments

Building GitHub Canarytokens: A rant about Audit Log gaps

https://blog.bored.engineer/github-canarytokens-5c9e36ad7ecf?source=friends_link&sk=57cd6a6d5c191...
1•innoying•27m ago•0 comments

Where to buy a non-Apple, non-Google smartphone

https://www.theregister.com/2026/05/01/buy_a_foss_fondleslab/
1•fsflover•28m ago•3 comments

Grasping at the Future of Programming Languages

https://ideasthetician.substack.com/p/grasping-at-the-future-of-programming
2•totemandtoken•28m ago•1 comments