The easiest way to compete with Rust and cure D's GC reputation: switch to ARC.
Dom DiSc
dominikus at scherkl.de
Sat Jul 12 23:20:14 UTC 2025
On Saturday, 12 July 2025 at 21:36:18 UTC, Dukc wrote:
> Storing the ref count along the object would likely perform
> better, but don't think it would be done like that in D because
> the same reference types are used to deal with objects
> allocated in C.
And a RefCounter separate of the object is necessary for const
objects (as it need to remain mutable).
More information about the dip.ideas
mailing list