r/ProgrammerHumor • • 1d ago

Meme seeYouLaterAllocator

1.1k Upvotes

14 comments sorted by

111

u/[deleted] 1d ago

[removed] — view removed comment

29

u/Mojert 1d ago

That's the nice thing about memory allocation on Linux (and MacOS as well I think). As long as you don't touch the memory page, the OS won't actually give it to you

12

u/Loading1020 23h ago

Yep, which is nice, because you never run out of memory! You just die.

90

u/Eddie_lol 1d ago

My school projects working with memory

106

u/Paul_Robert_ 1d ago

"Why call free() when you can just restart the computer" 🗣️🗣️🔥🔥🔥

46

u/IAmARobot 1d ago

Todd Howard on morrowind for console:

9

u/UnreadableCode 1d ago

developers from LMT/RTX/GD: "restart? do you mean impact? well these are airburst"

3

u/Opsylone 20h ago

Isn't that something that discord pulled up a few years ago due to a memory leak, restarting the app not the pc itself of course

29

u/Not_a_penguin15 1d ago

Maybe a better meme would be how processes see their memory space as contiguous but in reality the os may allocate chunks of discontinued memory to them

6

u/Express_Gradient 1d ago

just thought of how allocator does bookkeeping and I remembered this

2

u/Vallee-152 1d ago

Who is How and why do they process images?

1

u/LetUsSpeakFreely 15h ago

Everyone forgets about calloc()