A New Game Written in D

H. S. Teoh hsteoh at quickfur.ath.cx
Wed May 18 19:03:47 UTC 2022


On Thu, May 19, 2022 at 06:18:58AM +1200, rikki cattermole via Digitalmars-d-announce wrote:
> On 19/05/2022 5:51 AM, Kenny Shields wrote:
> > Also, I know that D has some sort of interface for allowing custom
> > GC implementations -- has anyone ever made a functional alternative?
> > Something that takes the incremental approach that you mentioned as
> > opposed to the pause and scan method?
> 
> Severely doubtful, like pretty much all the advanced GC designs, it
> appears to require write barriers (book barely touches on it however).
> 
> https://www.amazon.com/Garbage-Collection-Handbook-Management-Algorithms/dp/1420082795

We keep coming back to this impasse: write barriers.  It's high time
somebody implemented this in a dmd fork so that we can actually test out
more advanced GC designs.


T

-- 
Life would be easier if I had the source code. -- YHL


More information about the Digitalmars-d-announce mailing list