News for hackers. Stuff that matters.
Re:Friendship ended with the garbage collector by rwmj on Friday August 27, 2021 @06:52AM (#28326234)
A strategy that works for some GC'd languages is to force a minor collection at some safe point and then run your "non-GC'd" code taking care to limit allocations to what fits in the minor heap. I wrote a small game using this strategy where the safe point happened before waiting for a vertical sync to refresh the screen (where otherwise we'd have been sitting around doing nothing).

There are no comments on this comment yet.