2 ms·
I think the idea is that, if you're careful, you can avoid situations like this with a reference counting scheme. With a garbage collector, there are more thin
by jimbokun 16y ago
I think the idea is that, if you're careful, you can avoid situations like this with a reference counting scheme.
With a garbage collector, there are more things that are out of the developer's control, like when exactly the garbage collector will run and for how long.
C languages don't magically always perform better than other languages, but they do give you a greater level of control over what happens when. Whether that's a good or a bad thing is up to you.