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

Walter Bright newshound2 at digitalmars.com
Sun Oct 30 02:02:33 UTC 2022


On 10/29/2022 1:26 PM, IGotD- wrote:
> You are aware that you can always obtain a raw pointer from managed pointer 
> right? Which be useful for FFI functions.

Yes, and you can also always obtain a far pointer from a near one. But there's 
always a cost, otherwise there'd be no point to having near pointers.

If C++/CLI nailed it, why has C++ in general not adopted it? Why has nobody 
create a C compiler, but with GC? What is the point of Rust if GC is the answer?


More information about the Digitalmars-d mailing list