Why always C and C++ for games?

bobvodka said:
the GC only really comes into effect when you have deleted something

I'm am not 100% sure, but, if I have understood the GC concept right, if you explicitly DELETE something, the GC should remain idle. The GC's job is helping sloppy programmers to keep their memory clean when they allocate memory and do not proplerly disallocate it (aka MEMORY LEAKS), which is a real bother when you start programming OO.
 
not really a bother, the program i've written for work has zero memory leaks thanks to the useage of boost::shared_ptr<>s and various STL containers.

i'll have to read up on a GC, but the preception that its for 'sloppy programmers' isnt quite that true, it does have advantages and disadvantages over 'normal' memory handling.
 
Back
Top