Tasks, actors and garbage collection

sighoya sighoya at gmail.com
Wed Apr 28 22:13:16 UTC 2021


On Tuesday, 27 April 2021 at 19:51:55 UTC, Ola Fosheim Grøstad 
wrote:

> Then when a GC is available you convert strong and weak 
> RC-pointers to non-RC pointers if the RC-pointer pointed to a 
> class with no destructors/finalizers.

This kind of direction isn't the problem, but the other way 
around is. You can't easily transform GC code to RC code which is 
much more needed than the other way around given the amount of 
libraries written.

The model of Weak/Strong references is in my opinion either not 
fast or unsafe.


More information about the Digitalmars-d mailing list