mnt_ms
kiwifarms.net
- Joined
- Jun 5, 2026
What exactly you don't understand about memory management? Ask your questions, we don't bite.So i've been learning cpp (and c too!) but when we get to memory management i can't manage to figure shit out. I've been recommended by a friend to try to get some experience in rust cause the languages are basically the same but with a borrow checker so that when i do get the time to figure out memory management i can actually have some idea of what is to be written. not sure if this is the right thing to do since i've heard both good things about the cpp vs rust debate and just got told that as long as you don't interact with the communities, both are pretty good languages
I'd recommend first learning it in C, and then moving up to C++ if you need to. C++ has way more features like 'placement new', which may confuse a novice. It also revolves around classes and constructors which makes it more difficult.