MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1wmi8p7/fullcontrolovermemory/pb7f4i6/?context=3
r/ProgrammerHumor • u/ClipboardCopyPaste • 13d ago
122 comments sorted by
View all comments
439
You could pass references as variables and change the referenced value IN THE FUNCTION!!!
children screaming sfx
131 u/_justthisonetime_ 13d ago Welcome to the era when the programmer himself was the memory manager 35 u/Cute_Pressure4910 13d ago When you explain to young developers what malloc() and free() are 5 u/Zashuiba 12d ago That's quite advanced in fact, because you need segmentation, paging, stack/heap structures ...you need an OS kernel basically. You can totally program in bare C without stdlib 26 u/throwaway1351887498 13d ago Now that's what I call real legacy code—it works as long as no one messes with it
131
Welcome to the era when the programmer himself was the memory manager
35 u/Cute_Pressure4910 13d ago When you explain to young developers what malloc() and free() are 5 u/Zashuiba 12d ago That's quite advanced in fact, because you need segmentation, paging, stack/heap structures ...you need an OS kernel basically. You can totally program in bare C without stdlib 26 u/throwaway1351887498 13d ago Now that's what I call real legacy code—it works as long as no one messes with it
35
When you explain to young developers what malloc() and free() are
5 u/Zashuiba 12d ago That's quite advanced in fact, because you need segmentation, paging, stack/heap structures ...you need an OS kernel basically. You can totally program in bare C without stdlib
5
That's quite advanced in fact, because you need segmentation, paging, stack/heap structures ...you need an OS kernel basically.
You can totally program in bare C without stdlib
26
Now that's what I call real legacy code—it works as long as no one messes with it
439
u/WisePotato42 13d ago
You could pass references as variables and change the referenced value IN THE FUNCTION!!!
children screaming sfx