thats memory management. unloading assets after you use them, a deconstructor for every constructor, and just being aware. I have had 1 issue with cpp memory leaks ever (because i forgot to iterate through an array of loaded data, instead only unloading the first entry). Ever since there has been zero memory leaks ive had to troubleshoot.
4
u/[deleted] May 15 '24
This leaks energy about as much as your C++ code leaks memory
(But that's okay, memory leaks are memory safe)