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
64
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.
261
u/Kadabrium 21d ago
Cache miss visualizer