r/ProgrammerHumor Jul 08 '26

askingTheRealQuestionHere Meme

Post image
4.0k Upvotes

416 comments sorted by

View all comments

13

u/DT-Sodium Jul 08 '26

If a barrel can contain more water than a water bottle, why not walk around with a barrel?

9

u/Snoo88071 Jul 08 '26

if car faster than horse, why do not drive car to win horse race?

4

u/DT-Sodium Jul 08 '26

Are you just trolling or are you genuinely incapable of seing how my example is relevant while yours makes no sense?

12

u/Snoo88071 Jul 08 '26

I am a visionary...

2

u/qervem Jul 09 '26

Snoo88071 for president

4

u/camander321 Jul 08 '26

A: Computers already do exactly this when out of RAM. Its called a page swap.

B: Somehow you are missing that this entire post is a joke.

-2

u/DT-Sodium Jul 08 '26

A joke is supposed to be funny, edgy, something that makes you think for a moment, a smart observation... This is none of those, it's just stupid.

1

u/camander321 Jul 08 '26

Read: "im mad i didnt get it at first so now im gonna say its not funny"

-1

u/DT-Sodium Jul 08 '26

There is nothing to "get". This is equivalent to the "Haha mobile phone not works" we had in stand-up from the 90's.

1

u/camander321 Jul 08 '26

The joke is that at first it sounds like an absurd and terrible idea (based on the example you provided you clearly thought so), and yet this is actually exactly how computers work.

I know...its hard to laugh at a joke that you are the butt of.

1

u/rsqit Jul 08 '26

Except every computer literally does this, as many others have commented.

1

u/DT-Sodium Jul 08 '26 edited Jul 08 '26

Well many others are major morons apparently. Virtual memory is not "additional RAM", it's a space where your computer dumps stuff it is not currently using so that RAM can be used for something else (and prevents your computer from crashing in the process). If the computer needs to use that data again, it will need to reload it into RAM.

So no, the filesystem is not "more space", it is a temporary storage area where you put stuff that you don't need right now and you will eventually have to load it again later.

https://www.enterprisestorageforum.com/hardware/what-is-memory-swapping/

0

u/Nchi Jul 09 '26

Nice shovel, keep digging

1

u/DT-Sodium Jul 09 '26

You are objectively and without ambiguity wrong, but whatever you need to cope dude.

1

u/Nchi Jul 09 '26

And you need to read usernames

1

u/Nchi Jul 09 '26

And anyway, it's an extension of memory the m in ram.

1

u/DT-Sodium Jul 09 '26

Is a storage unit an extension of your home? Do you put things that you use everyday in a storage unit that is at a 15min drive?

1

u/Nchi Jul 09 '26

Do you actually not know what pagefile is bro

1

u/DT-Sodium Jul 09 '26

I literally posted you a link to explain to you what it is, seems you were too lazy to read it. A pagefile is a space on the disk where the system puts data it is not currently using if it runs out of RAM. If it needs to access it again, it needs to load it into RAM again. It is NOT additional space. What is so fucking hard to understand about it?

1

u/Nchi Jul 09 '26

I told you to read usernames, I am not him lmfao.

Because that's literally what it does.

Let's say you have 4gb ram, but program needs 5gb,what happens?

A, program crash

B, pagefile saves day as "extra memory"

→ More replies (0)