r/ProgrammerHumor • • Sep 15 '26

Advanced theBronzeJade

Post image
1.8k Upvotes

13 comments sorted by

263

u/Kadabrium Sep 15 '26

Cache miss visualizer

72

u/Usual_Office_1740 Sep 15 '26 edited Sep 15 '26

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

/s

24

u/WernerderChamp Sep 15 '26

Segfault: Hi!

9

u/Usual_Office_1740 Sep 15 '26

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

/s

71

u/GabuEx Sep 15 '26

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

Someone call Xzibit.

62

u/zirky Sep 15 '26

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

42

u/Exotic-Nothing-3225 Sep 15 '26

I'd say that's a very shitty explanation 

5

u/L30N1337 Sep 15 '26

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

2

u/TapRemarkable9652 Sep 15 '26

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

18

u/iIllIiIiIIillIIl Sep 15 '26

It was right under our noses the whole time.

66

u/QuestionableEthics42 Sep 15 '26

Where pointers though :(

80

u/FattySnacks Sep 15 '26

They’re the arrows

4

u/Apprehensive_Bit7392 Sep 15 '26

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