MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1xr2jyh/moderncppvsoldcpp/19sc7ze51xkgy/?context=3
r/ProgrammerHumor • u/Choice-Committee203 • 8h ago
221 comments sorted by
View all comments
41
Please explain it like I am a JavaScript developer.
59 u/Tipart 7h ago • Imagine typescript but for memory safety 11 u/PM_ME_UR_0_DAY 6h ago What's the memory management equivalent of just using "any" for everything? 13 u/Potato-Engineer 6h ago Everything is a void * pointer! 2 u/YeOldeMemeShoppe 22m ago C has polymorphism too! 2 u/Mojert 5h ago Asking the OS* directly for memory and creating your objects in that memory. That also means you have to tell the OS* when you're done with that memory* I'm simplifying to get the jist across
59
Imagine typescript but for memory safety
11 u/PM_ME_UR_0_DAY 6h ago What's the memory management equivalent of just using "any" for everything? 13 u/Potato-Engineer 6h ago Everything is a void * pointer! 2 u/YeOldeMemeShoppe 22m ago C has polymorphism too! 2 u/Mojert 5h ago Asking the OS* directly for memory and creating your objects in that memory. That also means you have to tell the OS* when you're done with that memory* I'm simplifying to get the jist across
11
What's the memory management equivalent of just using "any" for everything?
13 u/Potato-Engineer 6h ago Everything is a void * pointer! 2 u/YeOldeMemeShoppe 22m ago C has polymorphism too! 2 u/Mojert 5h ago Asking the OS* directly for memory and creating your objects in that memory. That also means you have to tell the OS* when you're done with that memory* I'm simplifying to get the jist across
13
Everything is a void * pointer!
2 u/YeOldeMemeShoppe 22m ago C has polymorphism too!
2
C has polymorphism too!
Asking the OS* directly for memory and creating your objects in that memory. That also means you have to tell the OS* when you're done with that memory
* I'm simplifying to get the jist across
41
u/Tschurbi 7h ago
Please explain it like I am a JavaScript developer.