this post was submitted on 22 May 2025
1152 points (96.0% liked)

Programmer Humor

25531 readers
1440 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] SleepingInTraffic@feddit.uk 57 points 2 months ago (4 children)
[–] drolex@sopuli.xyz 15 points 2 months ago (2 children)

What about a process? File gone wild?

[–] whatwhatwhatwhat@lemmy.world 32 points 2 months ago (1 children)

I’d call that a file loaded to memory

[–] jaybone@lemmy.zip 5 points 2 months ago (1 children)

Most files are loaded to memory in order to make any kind of use out of them. I.e. read/write operations.

[–] whatwhatwhatwhat@lemmy.world 4 points 2 months ago

That’s true! I supposed it would be more precise to say that all processes are files loaded to memory, but not all files loaded to memory are processes. Sort of like the whole arachnids / spiders situation.

[–] jaybone@lemmy.zip 3 points 2 months ago (1 children)

Why not? Represented in /proc? exec() and fam? Read and write to it?

[–] PlexSheep 1 points 2 months ago

Uhm, actually, process just exposes kernel data structures with the file system API. It's not actually a file

[–] PoopingCough@lemmy.world 9 points 2 months ago

I mean, with virtualization that's pretty much true

[–] akilou@sh.itjust.works 4 points 2 months ago (2 children)
[–] drolex@sopuli.xyz 10 points 2 months ago (1 children)
[–] Gork@lemm.ee 5 points 2 months ago (1 children)
[–] jaybone@lemmy.zip 2 points 2 months ago
[–] kenoh@lemm.ee 4 points 2 months ago (1 children)

If you can open it in Vim, it's a file.

[–] SatyrSack@lemmy.sdf.org 9 points 2 months ago

You can open me in Vim, Greg. Am I a file?

[–] NigelFrobisher@aussie.zone 1 points 2 months ago

Files are just streams. Everything is just a stream, in real life too.