Microsoft CEO Satya Nadella says AI generates 'fantastic' Python code, and that it now creates 'maybe 20 - 30% of the code ... in some of our projects'
Hey, who commented 'purple monkey dishwasher' in here?
Keep up to date with the most important stories and the best deals, as picked by the PC Gamer team.
You are now subscribed
Your newsletter sign-up was successful
Want to add more newsletters?
Every Friday
GamesRadar+
Your weekly update on everything you could ever want to know about the games you already love, games we know you're going to love in the near future, and tales from the communities that surround them.
Every Thursday
GTA 6 O'clock
Our special GTA 6 newsletter, with breaking news, insider info, and rumor analysis from the award-winning GTA 6 O'clock experts.
Every Friday
Knowledge
From the creators of Edge: A weekly videogame industry newsletter with analysis from expert writers, guidance from professionals, and insight into what's on the horizon.
Every Thursday
The Setup
Hardware nerds unite, sign up to our free tech newsletter for a weekly digest of the hottest new tech, the latest gadgets on the test bench, and much more.
Every Wednesday
Switch 2 Spotlight
Sign up to our new Switch 2 newsletter, where we bring you the latest talking points on Nintendo's new console each week, bring you up to date on the news, and recommend what games to play.
Every Saturday
The Watchlist
Subscribe for a weekly digest of the movie and TV news that matters, direct to your inbox. From first-look trailers, interviews, reviews and explainers, we've got you covered.
Once a month
SFX
Get sneak previews, exclusive competitions and details of special events each month!
I'm gonna be so real with you right now: the most coding I've done in the last year is tinkering in narrative tools like Twine and Ink—both of which are programs geared towards writers such as myself who respect more technical coding as much as they fear it. Still, turning to AI to generate code that's core to your business seems like a bad idea to me.
Well, Microsoft CEO Satya Nadella would apparently disagree. In a fireside chat with Meta CEO Mark Zuckerberg at Llamacon, Nadella said, "I'd say maybe 20 to 30 percent of the code that is inside of our repos today in some of our projects are probably all written by software,” with 'software' here being a euphemistic term for AI (via The Register).
Nadella clarified that its AI is writing fresh code in a variety of programming languages, rather than overhauling existing code. Nadella claimed the AI-generated results he's seen using Python are "fantastic", while code generated in C++ still has a ways to go.
That could explain a few things with regard to recent Windows updates, such as the mysterious empty folder apparently essential to system security. On the other hand, it's not immediately clear where this AI-generated code is actually ending up. Besides that, auto-completion tools within coding software (think, predictive text) can fall into the category of 'AI-generated', too, so that 30% figure is fuzzy at best.
Still, CTO Kevin Scott has also commented that he expects a whopping 95% of the company's code to be AI-generated by 2030, and it's not just Microsoft leaning on AI either (via TechCrunch). Google CEO, Sundar Pichai, revealed in a recent earnings call that AI is used to generate 30% of code for the search giant, potentially about to be cut down to size, too. As for Zuckerberg, the Meta CEO could not recall the exact percentage of how much AI-generated code his company is currently using.
Still, both Zuckerberg and Nadella expressed enthusiasm about the prospect of more heavily relying on AI coding agents in the future—with no word on how this may or may not impact jobs.
Zuckerberg hopes AI-generated code will improve security, though a recent study found that AI's tendency to 'hallucinate' package dependencies and third-party code libraries could present serious risks (via Ars Technica). While it makes sense to not always write code from scratch, AI-generated code can leave the back door open for someone to upload a malicious package based on an AI hallucinated line. One can only hope both Meta, Microsoft, and Google thoroughly check their AI-generated code before implementing it anywhere… but something tells me that my hopes for corporate responsibility may be a little optimistic.
Keep up to date with the most important stories and the best deals, as picked by the PC Gamer team.
Best gaming PC: The top pre-built machines.
Best gaming laptop: Great devices for mobile gaming.

Jess has been writing about games for over ten years, spending the last seven working on print publications PLAY and Official PlayStation Magazine. When she’s not writing about all things hardware here, she’s getting cosy with a horror classic, ranting about a cult hit to a captive audience, or tinkering with some tabletop nonsense.
You must confirm your public display name before commenting
Please logout and then login again, you will then be prompted to enter your display name.


