• excral@feddit.org
    link
    fedilink
    English
    arrow-up
    3
    ·
    4 days ago

    Windows 11 was released 4 years ago and you still can’t move the task bar to a different edge of the screen. If Microsoft can’t implement simple feature of a core part of Windows in 4 years they most certainly can’t replace their entire C/C++ codebase in 5 years

  • franzbroetchen@feddit.org
    link
    fedilink
    English
    arrow-up
    30
    ·
    edit-2
    6 days 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
      ·
      6 days 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
        5 days 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
      ·
      6 days 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.

    • Tattorack@lemmy.world
      link
      fedilink
      English
      arrow-up
      15
      ·
      6 days 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
      ·
      6 days 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.’”

  • termaxima@slrpnk.net
    link
    fedilink
    English
    arrow-up
    56
    arrow-down
    1
    ·
    7 days ago

    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.

    • Pup Biru@aussie.zone
      link
      fedilink
      English
      arrow-up
      33
      ·
      7 days ago

      little measurable difference? the last time they rewrote something they replaced the start menu with fucking react

      the difference will be measurable and enormous

      • termaxima@slrpnk.net
        link
        fedilink
        English
        arrow-up
        1
        ·
        3 days ago

        Isn’t React technically safer for memory ? I was only talking about memory corruption, Rust’s actual main strength.

        Don’t get me wrong, it is absolutely terrible that they shoved JavaScript in the start menu. It’s buggy as hell, but I don’t think it can ever segfault.

        • Pup Biru@aussie.zone
          link
          fedilink
          English
          arrow-up
          1
          ·
          3 days ago

          perhaps… i guess the single directional execution model would help to prevent memory leaks, and components would help keep things relatively contained… and also javascript in general avoids whole classes of c/c++ bugs… but it’s also incredibly slow. imo it’s just not something you should write core system components in

          to be clear, it’s not react that’s the problem here: its execution model is an excellent way of structuring UI… but something as core as the start menu just really isn’t something you should fuck around with slow languages with

          and also, that’s not to say that FOSS shouldn’t do it - they’re open, and thus something like react makes it easier for devs to write plugs and extend etc… but that’s not an engineering concern for windows: they don’t get the luxury of using extensibility as an excuse

      • phlegmy@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        2
        arrow-down
        1
        ·
        5 days ago

        No no no you see, they’re using rust, which is a ‘safe’ language. That means it’s not possible to have security issues…

  • MonkderVierte@lemmy.zip
    link
    fedilink
    English
    arrow-up
    32
    arrow-down
    1
    ·
    7 days ago

    reimplement … with help from AI

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

      • kadu@scribe.disroot.org
        link
        fedilink
        English
        arrow-up
        12
        ·
        7 days ago

        AI doesn’t reason, so it heavily depends on what’s been presented in the training set.

        Python is everywhere and most importantly whatever you can think exists in Python, from critical bioinformatics tools to somebody learning programming from the first time and posting their prime number finder or sorting algorithm online.

        Rust? Not at that point yet, so the AI fails

        • Spice Hoarder@lemmy.zip
          link
          fedilink
          English
          arrow-up
          5
          ·
          6 days ago

          Yeah, for everything I’ve seen it’s just a classical case of overfitment. I only tried it because it was recommended to me by a coworker. It failed at problem solving and choosing comparable dependencies. Completely jarring because like you said, it could likely do it in JS and Python. But clearly not Rust. I often wonder if the code you get from AI is +85% stolen verbatim.

          • dantheclamman@lemmy.world
            link
            fedilink
            English
            arrow-up
            1
            ·
            6 days ago

            In Python it can work but sometimes with crazy inefficient methods incorporated. In obscure geospatial stuff it often loses the plot. Still occasionally recommends functions that don’t exist

        • cheesybuddha@lemmy.world
          link
          fedilink
          English
          arrow-up
          3
          ·
          6 days ago

          I dunno man, I tried coding a simply http listener with an LLM one time in python (a language I’m unfamiliar with). Just something to sit on a port, listen for a request, and run a script.

          I ended up spending more time troubleshooting the maybe two dozen lines of code than I would have spent just looking up a tutorial online.

  • wewbull@feddit.uk
    link
    fedilink
    English
    arrow-up
    33
    ·
    7 days 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
      8
      ·
      edit-2
      7 days 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
      8
      ·
      7 days 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
        11
        ·
        7 days 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
          ·
          6 days 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
          ·
          7 days ago

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

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

  • qaz@lemmy.world
    link
    fedilink
    English
    arrow-up
    7
    ·
    5 days ago

    This sounds like a great idea, I might finally be able to use Linux at work in the future.

  • ZILtoid1991@lemmy.world
    link
    fedilink
    English
    arrow-up
    16
    arrow-down
    2
    ·
    6 days 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.

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

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

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

        • JustAnotherKay@lemmy.world
          link
          fedilink
          English
          arrow-up
          3
          ·
          7 days 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.

        • Passerby6497@lemmy.world
          link
          fedilink
          English
          arrow-up
          3
          ·
          7 days 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.

        • StitchInTime@piefed.social
          link
          fedilink
          English
          arrow-up
          1
          ·
          7 days 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.

  • hendrik@palaver.p3x.de
    link
    fedilink
    English
    arrow-up
    17
    ·
    edit-2
    7 days ago

    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.