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

Ola Fosheim Grøstad ola.fosheim.grostad at gmail.com
Sat Oct 29 15:45:11 UTC 2022


On Saturday, 29 October 2022 at 14:43:54 UTC, bachmeier wrote:
> If you're changing the compiler to add a different GC strategy, 
> you can add managed pointers.

I think you need more than this to do it well, in terms of system 
level programming.

You need to minimize thread-to-thread interference. You need to 
strengthen the type system and make better use of `shared`. 
Turning D into a AoT Java/C# just begs the question "Why am I not 
using Java or C#?"




More information about the Digitalmars-d mailing list