Would you pay for GC?

Paulo Pinto pjmlp at progtools.org
Tue Jan 25 09:34:27 UTC 2022


On Tuesday, 25 January 2022 at 09:23:01 UTC, Ola Fosheim Grøstad 
wrote:
> On Tuesday, 25 January 2022 at 07:13:41 UTC, Paulo Pinto wrote:
>> If you are paying to replace GC with ARC, without putting the 
>> money to reach Swift level of performance (which is still 
>> pretty lame versus last gen tracing GCs in Java/.NET), then 
>> you will be getting lemons.
>
> With per fiber/task/actor ownership + unique_ptr you reduce the 
> need to increase the refcount significantly.

It doesn't matter if it is still worse than the competition.


More information about the Digitalmars-d mailing list