why?

    • Artyom@lemm.ee
      link
      fedilink
      English
      arrow-up
      12
      arrow-down
      2
      ·
      1 year ago

      Plus Linux could update it in the background while the app is running. There’s no reason windows can’t do these things, and yet, it can’t.

      • tias@discuss.tchncs.de
        link
        fedilink
        English
        arrow-up
        16
        arrow-down
        2
        ·
        edit-2
        1 year ago

        It can’t, really. What Linux will do (and Windows won’t) is delete old files and replace them with new ones while they are still in use. But this has two problems.

        1. It can lead to stability issues. See e.g. Firefox, which refuses to open new tabs and can’t shut down cleanly if you update using the package manager while the browser is running. If you replace a binary executable in use and it later tries to load a shared library dynamically, it will get an unexpected version of that shared library which can potentially lead to memory corruption. Similar problem the program tries fork+exec itself to create more instances (like Firefox and Chrome do).
        2. It won’t actually update the running process in memory, so even if you install security fixes your system will still be vulnerable. To be safe after e.g. fixes to libc you really need to reboot your system, but most distributions hide this fact from the user.

        Windows could certainly opt for a similar solution as Linux. They just chose a stricter and more reliable model for file locking, for good or bad. For what it’s worth I personally prefer the Linux model, but that’s because I know to reboot my system after updating it. I don’t trust my dad to take that social responsibility so he needs to be forced.

        • socphoenix@midwest.social
          link
          fedilink
          English
          arrow-up
          5
          ·
          1 year ago

          Outside of the kennel a reboot is not necessary you just restart the app/service it’s really not rocket science.

          • tias@discuss.tchncs.de
            link
            fedilink
            English
            arrow-up
            3
            arrow-down
            1
            ·
            1 year ago

            Updating a shared library requires an understanding of which services (and interactive programs) use that shared library. There’s a lot of room for mistakes. So while restarting specific services can be worth it for a high-availability server, for a desktop PC I find it easier and less error-prone to just restart the machine.

      • mexicancartel@lemmy.dbzer0.com
        link
        fedilink
        English
        arrow-up
        5
        arrow-down
        1
        ·
        1 year ago

        Linux distros usually raises a reboot required flag. But thats usually to complete some kernel or system update. Windows just go ahead and reboot on update ruining the workflow.

        When you get the message to reboot ignore it and do your work. Then shutdown after doing it. Turn on when you need it the next time. And its all well

      • Faresh@lemmy.ml
        link
        fedilink
        English
        arrow-up
        2
        arrow-down
        1
        ·
        1 year ago

        “updates were installed, you should reboot”.

        But I think you can ignore it, the updates just will not take effect until you reboot.

    • 𝕽𝖔𝖔𝖙𝖎𝖊𝖘𝖙@lemmy.world
      link
      fedilink
      English
      arrow-up
      6
      arrow-down
      1
      ·
      1 year ago

      I work at night and Windows loves to push Windows Updates at night regardless of my normal work schedule.

      Take a trip to the bathroom or just don’t move the mouse for a few minutes and Windows will reboot (fuck whatever you had running) and spent an hour or two installing an update (fuck the rest of your night)

      Linux doesn’t ever try to force itself on you like that, it’s a respectable OS

    • Ilovethebomb@lemm.ee
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 year ago

      “DAE too many Linux posts?! BRB need to reboot windows for the 30th time today.”

      That’s a strawman argument, I can’t remember the last time I had to reboot Windows, and the last few updates have only taken a few minutes. They also install on shutdown most of the time.

    • SaakoPaahtaa@lemmy.world
      link
      fedilink
      English
      arrow-up
      6
      arrow-down
      16
      ·
      1 year ago

      I have never had problems with windows updates nor has it never rebooted on me. Dunno what the hate is for, at least windows works without knowing 79 different programming languages and having to scour through git repos from 2002 for drivers just to get a driver compiled for your headset (it wont compile because it requires a bingbong-SDK mainted by a guy from turkey who refuses to update it from 1.95v2 to more recent 1.99-6 which is incompatible with your dial-up modem)

        • gamermanh@lemmy.dbzer0.com
          link
          fedilink
          English
          arrow-up
          5
          arrow-down
          2
          ·
          1 year ago

          I’ve never had windows force a reboot and I don’t even turn my PC off at night like the other guy does

          I just tell it to schedule a time for the middle of the night and go from there

          I think maybe back in the xp/vista days that happened once or twice, but not in well over a decade now

          • Confused_Emus@lemmy.world
            link
            fedilink
            English
            arrow-up
            6
            ·
            edit-2
            1 year ago

            At least that works for you. I’ve never been able to get windows to respect my “active hours.” Especially on my work laptop - I work overnight, and frequently have to open up a command prompt to override the forced scheduled restart. Even though the active hours thing allows you to put in a day that starts at PM and ends at AM, something about my work day crossing over midnight apparently just makes windows shit its diaper.

            Edit: Dang, fuck me for just relaying my experience. Didn’t realize we weren’t allowed to criticize the godOS.

      • smileyhead@discuss.tchncs.de
        link
        fedilink
        English
        arrow-up
        3
        arrow-down
        1
        ·
        edit-2
        1 year ago

        From command line it’s “sudo dnf update” for example and if you use flatpak, “flatpak update”, updates everything. Or just click update in software manager.

        There are programs that are not compiled/packaged by their developers and you have to do it yourself, but so are on Windows. But for OS from Microsoft noone would mention such program, because compiling on Windows is nightmare in comparason. C for example was designed for Unix-like systems. More high-level languages have less dependency installing, but still.

        Nowadays people run WSL to compile programs for Windows and that says something…

        EDIT: To people in responses below, don’t get too engaged to something that can be trolling.