[ prog / sol / mona ]

prog


Garbage collection

5 2021-11-07 13:52

>>2 and >>4 nailed it. If you are after features like GC you are not going to use C/C++ in the first place.

GC/non-GC is (to a certain extend) a mindset. Of course you can screw up your memory management royally in C but if that really becomes a regular problem maybe you shouldn't be writing (critical applications in) C. At the very least take a step back and evaluate your style. Chances are you need a bit more training. Everyone is going to make a certain amount of errors but most errors in the memory department can be traced to sloppy coding style or the programmers responsible for it not really understanding what they are doing.

23


VIP:

do not edit these