Why is D's GC slower than GO's?
IGotD-
nise at nise.com
Sat Oct 29 12:58:49 UTC 2022
On Saturday, 29 October 2022 at 12:37:52 UTC, Imperatorn wrote:
> On Saturday, 29 October 2022 at 12:05:40 UTC, IGotD- wrote:
>>
>> For D or ancient C compilers?
>
> For D
I suggest a "built in" raw pointer type and a managed pointer
type. The raw pointer type should not be used in safe D
programming because safe D relies on garbage collection. The
entire druntime/phobos should be changed in order to use the
managed pointers instead for any raw pointers (unless special
cases). The functionality of the managed pointer type should be
able to be completely customized in order to support all sorts of
different GC algorithms.
More information about the Digitalmars-d
mailing list