one of my favourite things when i switched to linux first was using the meta+Q hotkey to shutdown a program (this was with PopOS i think). with windows there is alt+F4 but some programs only use shift+alt+F4 which makes it a lot more confusing. on top of all that if youre using a laptop then its another keypress for the Fn key in some cases
Linux gives processes a chance to gracefully close. However, it also will absolutely NOT allow a process to hang up the shutdown or restart procedure after a point. If you're using systemd (which there is a good chance you are), it'll count down. If the process hasn't stopped in the time allotted, it gets Old Yellered.
I feel this meme was created by someone who didn't actually know Windows in depth and recently learned of the kill command. Which by default just asks the process nicely to terminate itself.
Except Windows doesn’t. You can send WM_CLOSE, but that may not actually bail out of the core loop. PostQuitMessage() works better for some apps, but not at all for windowless CONSOLE subsystem processes. Windows also has a lot of special behavior around generating signals in other processes. It’s a mess.
Like, every time I reboot the reboot UI complains about mysterious, unnamed processes that take suspiciously long to quit.
Having the kernel yank the process out of existence with prejudice is definitely the way to go as apps should be hardened for crashing, anyway.
To the people complaining Windows has an aggressive method. Sure but I didn't know about it till now. Task manager didn't make it obvious to me and so I didn't know about it till now (and everyone keeps talking about commands and shutdowns so it doesn't even sound like you can do it through task manager). Linux's system manager did and I have known about it since first using Linux (about half a year ago now)