• tal@lemmy.today
    link
    fedilink
    English
    arrow-up
    178
    ·
    2 months ago

    “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.

    • edgemaster72@lemmy.world
      link
      fedilink
      English
      arrow-up
      51
      ·
      2 months ago

      Well, I expect it’ll be exciting, one way or another.

      This gives the curse “may you live in interesting times” vibes

    • plz1@lemmy.world
      link
      fedilink
      English
      arrow-up
      41
      ·
      2 months ago

      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.

    • HaraldvonBlauzahn@feddit.org
      link
      fedilink
      English
      arrow-up
      34
      ·
      edit-2
      2 months ago

      “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.

      • Iunnrais@lemmy.world
        link
        fedilink
        English
        arrow-up
        11
        arrow-down
        8
        ·
        2 months ago

        Enshittification does not mean making things suck in general. It specifically means the business model of making a good product for users, then making the product bad for users and good for advertisers or data purchasers or retailers or whatever, and then when you have a captured market, making it worse for everyone to squeeze more money faster.

        Microsoft is not doing this. They might be sucking, and making a worse product, but it’s not following the enshittification playbook.

    • bravesirrbn ☑️@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      2 months ago

      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!

    • Tattorack@lemmy.world
      link
      fedilink
      English
      arrow-up
      12
      ·
      2 months ago

      That’s OK. I’m using Linux. Perhaps this will drive more people to Linux. The less people using corporate owned tools the better.

    • SkaveRat@discuss.tchncs.de
      link
      fedilink
      English
      arrow-up
      3
      ·
      2 months ago

      “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.’”

  • Pommes_für_dein_Balg@feddit.org
    link
    fedilink
    English
    arrow-up
    56
    arrow-down
    3
    ·
    edit-2
    2 months ago

    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.

    • ben@lemmy.zip
      link
      fedilink
      English
      arrow-up
      40
      arrow-down
      1
      ·
      2 months ago

      It seems like the actual windows kernel isn’t that bad, it’s mainly all the stuff on top of it at this point that is killing the OS

    • underscores@lemmy.zip
      link
      fedilink
      English
      arrow-up
      21
      ·
      2 months ago

      Oh, God I would hate that.

      I don’t want microshit software to become a standard in Linux.

      What Microsoft needs to do is keep pushing AI as much as possible until it burns itself to the ground.

    • spongebue@lemmy.world
      link
      fedilink
      English
      arrow-up
      20
      ·
      2 months ago

      Shit, with the way computer horsepower has improved over the years, how hard can it be to add a legacy Windows emulator or whatever WINE is, especially when you have the original source code available?

      • orclev@lemmy.world
        link
        fedilink
        English
        arrow-up
        17
        ·
        2 months ago

        WINE is basically an adapter. It exposes a Windows API and calls the equivalent Linux APIs when invoked. That’s less overhead than an emulator which models an entire virtual piece of hardware. When you run a Windows program through WINE your computer is actually executing the code of the program just like any Linux one it’s just calling WINE libraries instead of the Windows ones it normally would.

    • ark3@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      10
      ·
      2 months ago

      A man can wish but they would never do that because of GPL and thus having to also open source anything built-in/in-top by them (afaik?)

      • orclev@lemmy.world
        link
        fedilink
        English
        arrow-up
        7
        ·
        2 months ago

        They would only be obliged to open source any extra code they added to the kernel. If whatever they add lives in user space then it can be closed source (that’s one of the key differences between GPL 2 and 3 and why Linus refuses to use GPL 3). That said the problem with Windows at this point isn’t really the kernel, it’s all the user space crap they built on top of it.

    • explodicle@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      5
      ·
      2 months ago

      Compatability is the only reason to use Windows anymore. If they had to compete for best distribution, then they’d rapidly lose customers.

    • neon_nova@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      3
      ·
      2 months ago

      I remember that rumor for windows 11, I was really hopeful.

      I don’t think they really make money in windows itself.

      Why don’t they just come to linux and sell their server stuff there to keep people in that ecosystem?

      • VindictiveJudge@lemmy.world
        link
        fedilink
        English
        arrow-up
        12
        ·
        2 months ago

        Er, no. A Linux program from five years ago probably won’t run on a current distro if it hasn’t been maintained in four years. A Windows program released twenty years ago and never patched has pretty good odds of running on Win10 without even needing to touch the compatibility tab.

        • richmondez@lemdro.id
          link
          fedilink
          English
          arrow-up
          1
          arrow-down
          1
          ·
          2 months ago

          In my experience neither of those are true, on linux unless a dependency was dropped a 4 year old program will still probably work fine and a 20 year old program on windows will likely have some glitches which may or may not be problematic.

  • Malcolm@lemmy.world
    link
    fedilink
    English
    arrow-up
    42
    ·
    2 months ago

    Get out your popcorn because this should be fun to watch. They’re already vibe coding all of the value and stability out of their OS.

    As someone who only still has a Window install because Wine can’t handle the CAD tools I rely on, I look forward to the day when Linux becomes a more attractive platform to release professional software for. I’m not holding my breath for the Year of the Linux Desktop but I can certainly enjoy the ride of MS’s self sabotage to get there.

      • BlameTheAntifa@lemmy.world
        link
        fedilink
        English
        arrow-up
        10
        ·
        2 months ago

        WinBoat is amazing, but it doesn’t have GPU passthrough yet. That one feature is the holy grail for Windows virtualization on Linux. I hope the WinBoat team can solve it.

        • msage@programming.dev
          link
          fedilink
          English
          arrow-up
          4
          ·
          2 months ago

          I’m afraid that’s going to be a long way off.

          KVM can do it, but usually only to one kernel. Not sure if you can have multiple kernels handling one GPU.

  • wewbull@feddit.uk
    link
    fedilink
    English
    arrow-up
    28
    ·
    2 months ago

    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.

    • tyrant@lemmy.world
      link
      fedilink
      English
      arrow-up
      7
      ·
      edit-2
      2 months ago

      I was about to say that surely it’s not just 1 person they are talking about. Then I read, "Our North Star is ‘1 engineer, 1 month, 1 million lines of code.’”

      WTF

    • ranzispa@mander.xyz
      link
      fedilink
      English
      arrow-up
      2
      arrow-down
      7
      ·
      2 months ago

      I mean, if this is true and it works it is not too far fetched. You’d mostly be checking that tests still make sense and that they pass.

      Microsoft scientists have worked on a tool that automatically converts some C code to Rust.

      • Deestan@lemmy.world
        link
        fedilink
        English
        arrow-up
        10
        ·
        2 months ago

        The expensive autocomplete can’t do this.

        AI markering all wants us to believe that spoon technology is this close to space flight. We just need to engrave the spoons better. And gold plate them thicker.

        Dude who wrote that doesn’t understand how LLMs work, how Rust works, how C works, and clearly jack shit about programming in general.

        Rewriting from one paradigm to another isn’t something you can delegate to a million monkeys shitting into typewriters. The core and time-consuming part of the work itself requires skilled architectural coding.

        • cheesybuddha@lemmy.world
          link
          fedilink
          English
          arrow-up
          4
          ·
          2 months ago

          LLMs are - by the nature of how they work - only able to achieve 90-95% accuracy. That’s the theoretical best they can do, according to the people behind OpenAI. And worse, it will be presented as 100% accurate, even going so far as to make up sources wholecloth.

          That’s an insane and completely unacceptable error rate for any system even pretending to be mission critical.

          Can you imagine sending people to space with a system that has a 1 in 20 chance of just being completely unfit for service?

        • ranzispa@mander.xyz
          link
          fedilink
          English
          arrow-up
          1
          ·
          2 months ago

          Well, in that case they’re overstating their capabilities. Which is not too surprising.

        • ranzispa@mander.xyz
          link
          fedilink
          English
          arrow-up
          2
          ·
          2 months ago

          No, you go to your manager and be like: your machine to make C code into rust code does not work. If you want to keep the pace of 1M loc per month and keep your boss happy I need double pay and 10 people working on it at all time.

          • cheesybuddha@lemmy.world
            link
            fedilink
            English
            arrow-up
            1
            ·
            2 months ago

            But when your boss tells you that you have to keep doing it this way, then you don’t have much choice in the matter. You either keep asking AI for new code and hope it gets it right, or you have to actually delve into the code and spend your time correcting it.

            The 1 million lines of code is just untenable, assuming they want code that actually works.

            • ranzispa@mander.xyz
              link
              fedilink
              English
              arrow-up
              1
              ·
              2 months ago

              Well, if that’s the case you do the job in the way you yourself judge best. Maybe that tool is good at some tasks and you apply it to that. Bill Gates will be sad for a couple months and then likely forget about the expectations which had been set and you yourself got a stable job with a safe position for years to come.

      • Passerby6497@lemmy.world
        link
        fedilink
        English
        arrow-up
        3
        ·
        2 months ago

        You’d mostly be checking that tests still make sense and that they pass.

        Nah, my experience is most of your time is finding out what parameter or function call they made up because its mathematically a good answer.

  • db2@lemmy.world
    link
    fedilink
    English
    arrow-up
    28
    ·
    2 months ago

    Probably with AI slop because they got really stupid really fast in Redmond.

      • db2@lemmy.world
        link
        fedilink
        English
        arrow-up
        6
        ·
        2 months ago

        They’re not even towing it, they’re putting it in the lead fully and just dumbly trusting whatever direction it’s going.

  • MonkderVierte@lemmy.zip
    link
    fedilink
    English
    arrow-up
    29
    arrow-down
    1
    ·
    2 months ago

    reimplement … with help from AI

    Meaning, it will have more bugs and less features after.

  • franzbroetchen@feddit.org
    link
    fedilink
    English
    arrow-up
    27
    ·
    edit-2
    2 months ago

    “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 ^^

    • lemmeLurk@lemmy.zip
      link
      fedilink
      English
      arrow-up
      2
      ·
      2 months ago

      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.

      • franzbroetchen@feddit.org
        link
        fedilink
        English
        arrow-up
        5
        ·
        edit-2
        2 months ago

        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

    • Ⓜ3️⃣3️⃣ 🌌@lemmy.zip
      link
      fedilink
      English
      arrow-up
      5
      arrow-down
      5
      ·
      2 months ago

      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.

      • Spice Hoarder@lemmy.zip
        link
        fedilink
        English
        arrow-up
        8
        arrow-down
        1
        ·
        2 months ago

        I truly believe immutable Fedora distros are the answer to windows. I spent years and years on Debian based distros. At the beginning of 2025 I finally switched my daily driver from Windows to an arch based distro.

        Fast forward to October where I finally put Bazzite on my S/O’s gaming laptop, and shit just works. But the real kicker is that I don’t have to worry if upgrading her system will leave it unbootable.

        Look, I love tinkering, compiling from source, and keeping a spare Linux kernel, but windows users don’t want that shit. They yern for flat packs and systems that you can’t fuck up.

        Anyways, fedora atomic, 100% the new meta.

        • Passerby6497@lemmy.world
          link
          fedilink
          English
          arrow-up
          3
          ·
          2 months ago

          100 fucking percent. I’m loving atomic distros more and more as I use them, despite having to work around limitations/recommendations against installing rpm packaged software.

          Bazzite was actually the distro I chose when I bailed on windows earlier this year, and while I do have my complaints, it’s easily been the best desktop Linux experience I’ve had in multiple decades. I’ve tried a dozen or more times to go to Linux but my graphics card has always been the reason I went back. But between going green and using a distro that has both steam and my GPU drivers baked in, it’s been a fucking dream.

          Like, I love tinkering, coding, and all that fun tech shit. But I also do this for a living, so I want my home system as set and forget as possible. I don’t mind doing troubleshooting on my servers and shit to make hosted services work, but something about having to troubleshoot my main rig just sends me over the edge.

        • JustAnotherKay@lemmy.world
          link
          fedilink
          English
          arrow-up
          3
          ·
          2 months ago

          I really agree. I let my partner try out my steam deck (immutable arch instead of Fedora, but ultimately the same experience. Flatpaks and easy updates). They fell in love with it, so I bought a second one for them. It’s been a year now, running it almost exclusively on desktop mode and using it as a Linux desktop.

          I haven’t even shown them the terminal yet.

        • StitchInTime@piefed.social
          link
          fedilink
          English
          arrow-up
          1
          ·
          2 months ago

          Yep. Atomic doesn’t suit my needs outside of a dedicated gaming machine, but if I help my mom with a new computer, it’s going to have an atomic desktop with KDE. Close enough to windows that she won’t need to learn something new, secure where I won’t have to clean it out every 6 months, and reliable to where she can handle OS updates herself. I just need to be able to run an old version of WordPerfect for her in Wine and she has everything she needs.

  • VeloRama@feddit.org
    link
    fedilink
    English
    arrow-up
    20
    arrow-down
    1
    ·
    2 months ago

    so glad i switched to linux in time to avoid this clusterfuck. at least on my private machines.

  • ZILtoid1991@lemmy.world
    link
    fedilink
    English
    arrow-up
    14
    arrow-down
    2
    ·
    2 months ago

    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.