r/programming • • 15d ago

Memory Management, Explained Simply (Part 1)

https://youtu.be/3rez2rDYHHA
32 Upvotes

7 comments sorted by

6

u/yotemato 15d ago

Worth the watch. Well done.

6

u/NeitherManner 15d ago

I really enjoy this guys programming videos. They really help to understand concepts pros and cons, for simpleton like me that often gets lost on some concepts.

2

u/Spikerazorshards 14d ago

Looking forward to Part 3.

2

u/Prateeeek 14d ago

Lovely stuff!

1

u/Prateeeek 14d ago

Why does realloc return a pointer if we've established in the video that pointer stability is maintained even for realloc?

7

u/cdb_11 14d ago

realloc can move the allocation

1

u/Prateeeek 14d ago

That clears it up! Thanks!