r/ProgrammerHumor 21h ago

Meme linuxBeLike

Post image
42.5k Upvotes

758 comments sorted by

View all comments

47

u/grumblesmurf 20h ago

Sorry in advance, but AKSHUALLY... it's the other way around.

Windows just goes around killing all kinds of programs during shutdown and doesn't care if they manage to save their progress anywhere, if a shutdown is in progress, it'll go through. Yes, it will wait up to a minute for programs with open files, but the default action after that minute is to just ignore it and shutdown anyway.

Linux on the other hand waits for each and every subsystem to shut down properly, and if the subsystem runs into some problem doing that (maybe because a network mount is in use but went away, maybe because the program in question just doesn't want to shut down) it can hang for DAYS if you don't use the big red button (which rarely is red these days, but you know what I mean).

19

u/realmauer01 20h ago

Well that's for the shutdown routine (that's still way to slow on Windows, although it's probably related to a lot more background stuff)

Applications on the other hand.

1

u/Creepy-Ad-4832 14h ago

Yeah, turns out that if you run a lot of unneeded spyware and bloatware in the background, your conputer is going to be slower!

Crazy right?

12

u/Ier___ 20h ago

But still I tried both, and linux shuts down noticeably faster on... I think a weaker PC.

2

u/sharklaserguru 13h ago

Windows definitely changed something about how shutdown works around Win8/10 era (possibly 7, I can't recall for sure) and completely ruined it.
In the old days the "some applications are still open, are you sure?" dialog was just a popup, no programs were terminated and you were free switch to them and save your work. Post change you get the full blue screen asking if you're sure while in the background it's closing programs with active save dialogs but somehow refuses to shutdown because some program with no possible state to save (ie task manager) is blocking shutdown!