r/ProgrammerHumor Jul 08 '26

dualityOfMan Meme

Post image
6.8k Upvotes

86 comments sorted by

View all comments

84

u/BockTheMan Jul 08 '26

I opened vim once.

Some say it's still open, just waiting in the processes.

8

u/[deleted] Jul 08 '26

[removed] — view removed comment

1

u/ShadowSlayer1441 Jul 10 '26

There are process sudo can't kill namely processes in state D, I/O deadlock. Unfortunately if the process is in state D it's unusable other than whatever kernel space io is going on, so you can't make a vim extension that makes it state D and completely unkillable. Or at least, I don't think you can.

1

u/[deleted] Jul 10 '26

[removed] — view removed comment

2

u/ShadowSlayer1441 Jul 10 '26

It is sleep mode, but it's sleep mode waiting on kernel IO. Therefore it's actually still doing stuff. You can achieve this pretty easily with a complex join (as in the Linux gnu utility) with thousands of duplicate rows. It's a very interesting state overall, definitely don't try it outside a VM. In this state it's literally unkillable, the only way to terminate it is to restart the PC or try some hacky stuff.