• wewbull@feddit.uk
    link
    fedilink
    English
    arrow-up
    13
    ·
    3 hours 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.

    • ranzispa@mander.xyz
      link
      fedilink
      English
      arrow-up
      1
      arrow-down
      2
      ·
      2 hours 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.

      • Spice Hoarder@lemmy.zip
        link
        fedilink
        English
        arrow-up
        4
        ·
        1 hour 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.

  • tal@lemmy.today
    link
    fedilink
    English
    arrow-up
    120
    ·
    11 hours 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.

    • HaraldvonBlauzahn@feddit.org
      link
      fedilink
      English
      arrow-up
      18
      arrow-down
      1
      ·
      edit-2
      4 hours 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.

      • msage@programming.dev
        link
        fedilink
        English
        arrow-up
        6
        ·
        3 hours ago

        Kinda still your point, but if you have one engineer producing 1M SLOC, how many do you have for code review?

        I hate how everyone nowadays is acting like reviews are not important. Actual oversight over codebase is way less important than shipping random code. Which is insane.

    • plz1@lemmy.world
      link
      fedilink
      English
      arrow-up
      19
      ·
      5 hours 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.

    • edgemaster72@lemmy.world
      link
      fedilink
      English
      arrow-up
      24
      ·
      5 hours ago

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

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

      • Iunnrais@lemmy.world
        link
        fedilink
        English
        arrow-up
        6
        arrow-down
        4
        ·
        5 hours 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.

  • Malcolm@lemmy.world
    link
    fedilink
    English
    arrow-up
    36
    ·
    10 hours 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
        9
        ·
        3 hours 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
          3
          ·
          3 hours 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.

  • Tony Bark@pawb.social
    link
    fedilink
    English
    arrow-up
    53
    ·
    11 hours ago

    Plans move to Rust, with help from AI

    As if AI could handle the mountains of checks Rust has you account for.

    • tal@lemmy.today
      link
      fedilink
      English
      arrow-up
      5
      ·
      edit-2
      8 hours ago

      While I agree that I don’t think that an LLM is going to do the heavy lifting of making full use of Rust’s type system, I assume that Rust has some way of overriding type-induced checks. If your goal is just to get to a mechanically-equivalent-to-C++ Rust version, rather than making full use of its type system to try to make the code as correct as possible, you could maybe do that. It could provide the benefit of a starting place to start using the type system to do additional checks.

      • Miaou@jlai.lu
        link
        fedilink
        English
        arrow-up
        1
        ·
        edit-2
        1 hour ago

        If they rely on UB at all, then this won’t work. At best you get a compile time error, but more likely your rust program will do weird stuff with memory. And given how much people rely on compilers “acting nice” when it comes to aliasing (something rust does not fuck around with), I wouldn’t hold my breathe

      • MartianSands@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        4
        ·
        3 hours ago

        The safety designed into Rust is suddenly foreign to the C family that I’m honestly not sure you can do that. Even “unsafe” Rust doesn’t completely switch off the enforced safety

  • mech@feddit.org
    link
    fedilink
    English
    arrow-up
    45
    arrow-down
    3
    ·
    edit-2
    11 hours 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.

    • underscores@lemmy.zip
      link
      fedilink
      English
      arrow-up
      19
      ·
      5 hours 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.

    • ben@lemmy.zip
      link
      fedilink
      English
      arrow-up
      34
      ·
      11 hours 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

      • VindictiveJudge@lemmy.world
        link
        fedilink
        English
        arrow-up
        6
        ·
        4 hours ago

        Which they could clean up, but it would mean killing backwards compatibility, which is arguably the only selling point of Windows.

    • neon_nova@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      3
      ·
      7 hours 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?

      • zbyte64@awful.systems
        link
        fedilink
        English
        arrow-up
        6
        ·
        edit-2
        7 hours ago

        I’m skeptical they could do it in a way that meaningfully inherits stability from Linux. Imagine bolting on their service control on top of systemd or map their registry system to /etc. They either bring all the bad over to Linux or write something that doesn’t support the windows ecosystem.

        • setsubyou@lemmy.world
          link
          fedilink
          English
          arrow-up
          2
          ·
          4 hours ago

          They could do what Apple did when they replaced the old MacOS with UNIX, which is they shipped an emulator for a while that was integrated really well. They also had a sort of backwards compatible API that made porting apps a bit easier (now removed, it died with 32 bit support).

          But in the Windows world, third party drivers are much more important. So in that regard it would be more difficult. Especially if they’re not fully behind it. As soon as they waver and there is some way to keep using traditional Windows, the result will be the same as when they tried to slim down the Windows API on ARM, and then nobody moved away from the APIs that were removed because they still worked on x86, which significantly slowed adoption for Windows on ARM.

    • spongebue@lemmy.world
      link
      fedilink
      English
      arrow-up
      18
      ·
      11 hours 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
        ·
        10 hours 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
      ·
      11 hours 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?)

      • Mark with a Z@suppo.fi
        link
        fedilink
        English
        arrow-up
        11
        ·
        10 hours ago

        Not really. Android and the google layer on top is a pretty good example of what you can do.

      • orclev@lemmy.world
        link
        fedilink
        English
        arrow-up
        7
        ·
        10 hours 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.

      • VindictiveJudge@lemmy.world
        link
        fedilink
        English
        arrow-up
        6
        ·
        4 hours 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.

  • db2@lemmy.world
    link
    fedilink
    English
    arrow-up
    24
    ·
    12 hours ago

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

      • db2@lemmy.world
        link
        fedilink
        English
        arrow-up
        5
        ·
        6 hours ago

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

  • pyrinix@kbin.melroy.org
    link
    fedilink
    arrow-up
    3
    ·
    8 hours ago

    And by which point, by 2032 when my Windows 10 stops updating completely (finally). May just be the time I finally go to Linux.

      • MBech@feddit.dk
        link
        fedilink
        English
        arrow-up
        4
        ·
        2 hours ago

        I can’t play stuff that requires kernal level anticheat (I know I know, “stop playing those game” no, fuck off). When I can actually play all the games I use to socialise with my very limited amount of friends, sure, but until then, for my use case, Linux is just not good.