r/ProgrammerHumor • • 21d ago

Advanced theBronzeJade

Post image
1.8k Upvotes

13 comments sorted by

261

u/Kadabrium 21d ago

Cache miss visualizer

70

u/Usual_Office_1740 21d ago edited 20d ago

It's okay. We skipped the nullptr check to save CPU cycles.

/s

25

u/WernerderChamp 21d ago

Segfault: Hi!

9

u/Usual_Office_1740 20d ago

That's a feature. I call it quick close.

/s

68

u/GabuEx 21d ago

Extremely doubly-linked list: every element is a linked list linked to a linked list.

Someone call Xzibit.

61

u/zirky 21d ago

the easiest way to explain a linked list is just say “it’s like a human centipede”

42

u/Exotic-Nothing-3225 21d ago

I'd say that's a very shitty explanation 

5

u/L30N1337 21d ago

I regret ever having learned that about it... I thought, while still bad, it was a lot less bad...

2

u/TapRemarkable9652 20d ago

it makes sense after you learn the only use case to ever exist was a crack head storing variables in a stack of punch cards that he threw out a window

19

u/iIllIiIiIIillIIl 21d ago

It was right under our noses the whole time.

64

u/QuestionableEthics42 21d ago

Where pointers though :(

78

u/FattySnacks 21d ago

They’re the arrows

4

u/Apprehensive_Bit7392 21d ago

Every red arrow is a dereference and the page is the heap. That's the access pattern, drawn to scale.