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

Araq rumpf_a at web.de
Sat Oct 29 06:28:02 UTC 2022


On Saturday, 29 October 2022 at 04:46:21 UTC, Walter Bright wrote:
> If there was a way around these two issues, we would have found 
> it by now.

It's very easy to "work around these two issues" but you cannot 
see it because of DOS's NEAR and FAR pointers. If that sounds 
totally absurd, it's because it is.

> 1. It enables a killer feature - CTFE that can allocate memory. 
> C++ doesn't do that. Zig doesn't do that.
>

And Nim does that easily too without butchering the type system. 
There simply is no reason to conflate managed with unmanaged 
pointers.



More information about the Digitalmars-d mailing list