77 points · by zdw · 11mo ago · 110 comments
With AI, I can produce 1 million lines of code in one day.
Artificial benchmarks produce artificial results.
later
| ... our ...
I think Galen's goal to rewrite every bit of C/C++ was his goal, not Microsoft's.
How is it wild? On social media I kept seeing things like people falsely expecting the end goal would require manually reading through a million lines of code. It seemed more like people making up reasons to be mad or trying to dunk on the author.
Which is absolutely batshit. There's no way that can be reviewed properly, even if it's putting all of the review work on all of the other teams.
As a third-party developer in the late 2000s I remember my boss giving me a CDROM binder (binders?) of every single OS release that Microsoft had ever put out. I assume he’d been given it my his developer-relations rep at Microsoft. My team and I used it to ensure our code worked on every MSDOS/Win* platform we cared to target.
I expect that, internally, the Windows team have crazy amounts of resources to implement the most comprehensive regression testing suite ever created. To that extent, at least, you’d be able to tell if the Rust version did what the old code did even if you didn’t read the code itself.
> My goal is to eliminate every line of C and C++ from Microsoft by 2030. Our strategy is to combine AI and Algorithms to rewrite Microsoft’s largest codebases
From his follow-up:
> It appears my post generated far more attention than I intended… with a lot of speculative reading between the lines.. Just to clarify… Windows is NOT being rewritten in Rust with AI.
So either he doesn't think that Windows is written in C/C++, it's not "from Microsoft", or he doesn't know what "reading between the lines" means, because those literally are the words he said. Sure, he also said "and algorithms", but I'd argue that inferring that to be a significant difference would require a lot more reading between the lines.
I guess he could also quibble that "eliminating every line of C and C++ from Microsoft" was supposed to mean new lines of code being written rather than existing ones, but that's both not the way most people would read it (if I said I wanted to eliminate all water from the planet, most people wouldn't think I meant I was eliminating rain but leaving the oceans alone) and a bit dubious from a technical perspective (since leaving the existing Windows codebase intact would make it pretty hard not to at least occasionally need to write a new line of code in the existing language).
My goal. Not Microsoft's or SpaceX's or...
When Galen says "my goal is ..." I take that at face value but as aspirational.
> I have an open position in my team for a IC5 Principal Engineer. The position in in-person in Redmond
Reading between the lines is what's needed to differentiate that from the immediately following sentences that are also in the first person. I don't think it's remotely as obvious as you're saying that everyone should be able to tell that wasn't the explicit goal the company had given him for the team.
Further, this is not a random speculative post, it is an announcement for a job opening on the posters team.
Do not let them vax your system against computer viruses with their programming languages.
Godspeed.
Can someone explain this? Are they suggesting that (eventually) one engineer can produce 1 million lines of Rust code in a month? Or replace 1 million lines of C code?
Using new "powerful code processing infrastructure"... but would it understand the semantics? Are those semantics clearly documented?
A paper on seL4 mentions $350 a source line of code on a 12 year engineering hour completed program that qualifies to a quality of code behavior expected from QNX.
It really just boils down to AI writing a million lines of code.
I actually think it can probably already do something like where there's a lot of boilerplate code.
In a time when some of Satya Nadella's chickens are coming home to roost and Windows being the most obvious example and most of their AI things quickly approaching too, it's good to laugh at their stupidity as a consolation prize.
In the past Microsoft fucked up some many times but they had the absolute dominance of the market and a huge pool of talent and knowledgeable people capable of making them try again and win. Times have changed, many have retired or been layoff to give way for the next round of "cheap young" talent in the form of contract workers.
Now they have the Cloud, I'm not so sure the Windows division can turn this turd around this time. Xbox has tangentially been the canary.
The rest of Microsoft might go the same way. I guess now I know what it felt like looking at IBM in 1989.
https://www.livescience.com/technology/computing/ibm-will-bu...
(Check attached papers)
The fact IBM still exists and is an important company is irrelevant. They lost control of the de facto computing standard. Microsoft could lose control as well.
A couple of quotes from the article above:
"WebView2-based Microsoft Teams consistently uses 1-2GB of RAM while doing nothing. Microsoft likely doesn’t know how to make these web apps use fewer resources, so it’s instead moving Teams calling to a separate process to reduce crashes."
"But Teams is not the only web app causing trouble when RAM prices are about to soar, as we also have WhatsApp. When WhatsApp debuted on Windows, it was an Electron app. However, Meta later upgraded it to WinUI/XAML (also known as native code on Windows), and WhatsApp eventually became one of the best apps [... using] less than 200MB of RAM and had smoother animations and faster load times."
It seems that most developers these days focus on web-exclusive technologies and try to force desktop and system level programs into this paradigm.
C, C++, and C# programmers seem to be as rare as hens teeth today?
Are colleges and universities not teaching these languages anymore? Is this a symptom of 'cloud-first' strategies where its easier to 'just use JavaScript' for everything, perhaps developer laziness/reluctance to learn another 'lower level' language?
I really don't understand the appeal of web-centric languages like JavaScript and TypeScript in the desktop and systems realm when they lack a standard library (which genuinely scares me: supply chain attacks...), likely contributing to the RAM consumption issue as developers just keep piling packages on for one specific function missing in another imported library, and aren't natively compilable to small binaries that aren't dependent on a runtime or bulky embedded interpreter.
Yes, C# technically falls afoul of this (in .NET), but C# at least has a standard library that is comprehensive and is supported by an enterprise (Microsoft, for all its faults), not random developers on the internet.
Microsoft allowing key components of Windows 11 to be rewritten in web-wrappers is only going to drive people further into Linux, as the RAM affordability crisis continues.
Developers focus on web because that's where the money is. Who would want to go down the Desktop road when it's less money and a dying field?
Similarly, IMO for making UIs, declarative is the way to go. A lot of these UI Desktop frameworks are procedural, which is a drag to write for UIs, and also, has many times less the size and support that, say, React, does.
Another thing is that hardware is always getting better. There is no incentive to increase performance if no one complains. A vocal minority of tech guys raving about how Electron apps are resource hogs don't dictamine what's performant and what's not.
Because only tech guys have limited ram?
If it’s not the colleges and universities, you can bet the AIs are better trained on JS/TS.
That's the line that was told for 15 years.
[1] https://www.heise.de/en/news/Linux-Kernel-Rust-Support-Offic...
(Again, just to clarify my comment: I'm not challenging anyone. It's just that there are hundreds of programming languages out there. Rust's been around for a good while. So, why now? And circling back to my original question, what makes its adoption inevitable?)