Re: C is too old? opinions?



"goose" <ruse@xxxxxxxxxxxxx> wrote in message
news:1152822536.759977.319710@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx


Now I'm really curious; how does the garbage collector run
in deterministic time? Is it possibly a case of running the gc
after every X operations knowing that no more than Y
memory has to be released and that doing that will require
no more than Z time?

That takes me back to the days of writing BASIC code. If the GC
routine in the various flavors of MS BASIC ever kicked in on its
own, it froze your program for a considerable amount of time. You
wanted to make sure you invoked it periodically before things got
too complex for it. For the most part, the more often you invoked
it the faster your program ran. Very counterintuitive.

-Wm


.