Why is D's GC slower than GO's?

Walter Bright newshound2 at digitalmars.com
Mon Oct 31 04:07:41 UTC 2022


On 10/30/2022 4:38 PM, Templated Person wrote:
> I don't understand why is it not a goal to replace the GC with Swift / Nim-like 
> reference counting.
We've looked at RC so many times. It has problems with:

1. transitive const

2. needs an exception handler to decrement the count

3. some memory leak problems that need (ironically) an ownership/borrowing 
system to fix


More information about the Digitalmars-d mailing list