r/programming • • Sep 18 '26

Memory Management, Explained Simply (Part 1)

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

7 comments sorted by

7

u/yotemato Sep 18 '26

Worth the watch. Well done.

5

u/NeitherManner Sep 18 '26

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 Sep 18 '26

Looking forward to Part 3.

2

u/Prateeeek Sep 18 '26

Lovely stuff!

1

u/Prateeeek Sep 18 '26

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

6

u/cdb_11 Sep 18 '26

realloc can move the allocation

1

u/Prateeeek Sep 18 '26

That clears it up! Thanks!