Garbage Collection for Systems Programmers

H. S. Teoh hsteoh at qfbox.info
Tue Apr 9 14:14:08 UTC 2024


On Wed, Apr 10, 2024 at 01:19:22AM +1200, Richard (Rikki) Andrew Cattermole via Digitalmars-d wrote:
> On 10/04/2024 1:15 AM, Leonardo wrote:
> > On Saturday, 6 April 2024 at 10:52:04 UTC, Ogi wrote:
> > > > [...]
> > > 
> > > This depends on the amount of latency. If it’s only “an extra
> > > millisecond” than yeah, not an issue. But if garbage collection can
> > > take more than entire game tick, than it’s a no-go.
> > > 
> > > [...]
> > 
> > Based on this and my experiments, I think we should at least improve the
> > GC, like Unity did with an incremental GC, to avoid spikes.
> > https://docs.unity3d.com/Manual/performance-incremental-garbage-collection.html
> 
> Sing along with me: ~~ write barriers ~~
> 
> :)

Write barriers!  We've been singing this tune for literally years. It's
about time we actually did it instead of merely talking about it!


T

-- 
Too many people have open minds but closed eyes.


More information about the Digitalmars-d mailing list