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

Walter Bright newshound2 at digitalmars.com
Sat Oct 29 10:35:21 UTC 2022


On 10/29/2022 3:04 AM, IGotD- wrote:
> No they can't because D doesn't have a built in managed pointer type and they 
> are limited to a subset of GC algorithms (even limited among the tracing GC ones).
> 
> It is possible to use a library custom GC type but then runtime/phobos don't use 
> these so replacing the GC in the entire program isn't possible.
> 
> Many have tried to explain this numerous times but you just ignore this obvious 
> fact.

I didn't ignore it.

I've pointed out the problems with two hierarchies of pointers many times. I 
lived with it for years in the DOS world. It's a mess, and was only used on DOS 
out of desperation.

I know about C++/CLI. No thanks.


More information about the Digitalmars-d mailing list