Replace the spaghetti with slop. Sounds like a great idea.
Technology
This is a most excellent place for technology news and articles.
Our Rules
- Follow the lemmy.world rules.
- Only tech related news or articles.
- Be excellent to each other!
- Mod approved content bots can post up to 10 articles per day.
- Threads asking for personal tech support may be deleted.
- Politics threads may be removed.
- No memes allowed as posts, OK to post as comments.
- Only approved bots from the list below, this includes using AI responses and summaries. To ask if your bot can be added please contact a mod.
- Check for duplicates before posting, duplicates may be removed
- Accounts 7 days and younger will have their posts automatically removed.
Approved Bots
This sounds like a great idea, I might finally be able to use Linux at work in the future.
(With react native)
“Our strategy is to combine AI and Algorithms to rewrite Microsoft’s largest codebases,” he added. “Our North Star is ‘1 engineer, 1 month, 1 million lines of code.’”
Easy to achieve if the ai just wraps all code in an unsafe block ^^
Honestly migrating from one language to another night actually be one of the best use cases for AI, if you don't change the architecture much it should be doable especially if it's a well tested codebase.
Maybe if the languages are very similar. If you convert C to Rust using AI it might work well but will most definitely not leverage the unique features of Rust. Might as well stay with C in that case. Migrating from an object oriented language like C++ to a language with another paradigm (such as Rust) will most likely produce a burning pile of shit
especially if it’s a well tested codebase.
So not for microsoft products then.
In theory.
But there's no doubt all their tests will also be shat out from an LLM.
That's funny because using unsafe might be an hint that Rust is not the right tool for the job. Yet we have rust in the kernel, rust coreutils... I just can't wrap my head arout it, yet.
You shouldn't have said that. Now the rust zealots are going to come for you.
Got downvoted, here they come…
Unsafe is expected and necessary in certain situations. Using other languages doesn't change that fact.
It's talked about in the docs
This is coming from someone who is pretending to think Microsoft is currently doing well and could lose some quality at the expense to introduce new features users want faster to sell an image of technology innovators or at a baseline a user friendly experience
What is actually happening is they are trying really hard to sell Microsoft after windows 11 launch pushed a lot of users away or at least gave them an accurate impression of how MS caters to corporations and advertisers and they don't give a shit about users as long as they keep buying computers with windows monopoly pre installed. The 'ai is going to be good enough to replace developers' longshot could come in 10 years or 10,000 years and is a hand wave to not understand the problem or currently available possible solutions.
Also the interview only covers corpo interests and doesn't include any labor or software union leaders.
Incoming brainrot-video from Bryan Lunduke in 3..2..1

Surely there's no way for Microsoft to vibe-fuck their OS.
Surely.
Surely.
“Our strategy is to combine AI and Algorithms to rewrite Microsoft’s largest codebases,” he added. “Our North Star is ‘1 engineer, 1 month, 1 million lines of code.’”
That's OK. I'm using Linux. Perhaps this will drive more people to Linux. The less people using corporate owned tools the better.
Will this finally be the end of Windows?
Also fun fact: Windows uses a lot of COM Interfaces for API, which in my opinion often makes developing for Windows a better experience, than developing for Linux. Rust does not have anything OOP related by default, and are often emulated with macros instead, like in C.
Rust has traits and reference counting which map nicely to COM objects.
By the way, the Linux Kernel is OOP. That's a good choice for things like queues, file systems, and device drivers.
I work for a company developing software for Windows and deal with COM all the time. How do you communicate across dynamic libraries and languages in Linux?
Linux usually just uses C API, most of which reads horribly. Libevdev is quite notorious for using files and the docs not telling you that the reading is blocking. Some additional things use C++ classes though.
Could you provide a link to the documentation? It's strange that it's so barebones.
That's a crazy take. I hate com and oop with a passion. If you like com that much there's gobject for you on Linux.
I hate everything GTK/GNOME, they didn't even call it gnobject.
This could have been good news, however, Microsoft's insistance on using AI, and general incompetence even without it, makes me very doubtful this will be successful.
They are going to try and replace C and C++ written by actual experts a few decades ago, with Rust written by idiots. Expect tons of logic bugs, and very little measurable difference in memory corruption.
little measurable difference? the last time they rewrote something they replaced the start menu with fucking react
the difference will be measurable and enormous
All the black hats are going to have a field day uncovering all manner of zero-day exploits…
No no no you see, they're using rust, which is a 'safe' language. That means it's not possible to have security issues...
“My goal is to eliminate every line of C and C++ from Microsoft by 2030,” Microsoft distinguished engineer Galen Hunt wrote in a recent LinkedIn post.
“Our strategy is to combine AI and Algorithms to rewrite Microsoft’s largest codebases,” he added. “Our North Star is ‘1 engineer, 1 month, 1 million lines of code.’”
Well, I expect it'll be exciting, one way or another.
Well, I expect it’ll be exciting, one way or another.
This gives the curse "may you live in interesting times" vibes
You know it's going to be successful when they go back to using antiquated productivity measurements like measuring based on lines of code in a time frame. We all know AI is fucking spectacular at generating overly verbose code.
I always love how business bros use the term "Algorithm(s)" (and now also "AI") as if that was just a magic incantation or something that you just switch on and it immediately solves whatever problem you might have.
All that's needed is that the wizard comes up with the right spell and then everything just works and the business is generating infinite money!
“Our strategy is to combine AI and Algorithms to rewrite Microsoft’s largest codebases,” he added. “Our North Star is ‘1 engineer, 1 month, 1 million lines of code.’”
That's insane. Even a good engineer will frequently need years to fully understand one million lines of code - even if the code is organized very, very well.
To compare, one million lines of program code might have around 100000 to 200000 unique symbols whose meaning and complex connections an engineer working with it has to learn and memorize. That's far more than the average vocabulary one will learn in five years when learning a foreign language to a high skill level. Doing it in a month would be like learning to read and write fine Japanese or Arab literature in a month when you have never spoken a word in that language before.
The Linux kernel has now passed 40 million lines of code, written over 30 years by tens of thousands of master programmers. And that's kind of a historic achievement. What happens is that complexity increases sharply with each duplication of the amount of code.
reimplement … with help from AI
Meaning, it will have more bugs and less features after.
I look forward to the total and complete collapse of Microsoft in the computer marketplace.
so glad i switched to linux in time to avoid this clusterfuck. at least on my private machines.
Just fucking stop please

Yet another good time to get off of Windows
It's always a good time to get off of Windows!
This is what you get when AI fanaticism combines with Rust fanaticism.
1 million lines a month is 2-ish line per second. That "engineer" is just someone to blame when things don't work. They aren't going to be contributing anything.
Well known in the industry how you don't assess programmers by lines of code. You kind of want them to be efficient and clean. Spend their day thinking and design clever solutions... Not pump out lots of unmaintainable low quality stuff. And have a million lines of that by tomorrow. But yeah, guess every aspect of this aligns well. You should be using Linux by now. Or at least do the switch in the near future.
Plans move to Rust, with help from AI
As if AI could handle the mountains of checks Rust has you account for.
AI: This is unsafe. This is also unsafe. This third one? Unsafe.
Honestly, Microsoft should just take the L, develop Windows 12 based on a Linux kernel, and re-write most of their stuff from scratch.
After focusing on backwards-compatibility for 40 years, they're allowed a new start, to fix all the rotten code they inherited from the 1980's.
That would make a lot of sense, which is why they are going to do something else.