Civility

rikki cattermole rikki at cattermole.co.nz
Fri Jun 24 19:57:03 UTC 2022


On 25/06/2022 7:51 AM, Walter Bright wrote:
> Honesty - Since Java is heavily dependent on the gc, it is worth it to 
> insert write gates into the generated code to accurately track usage of 
> gc allocated memory. Usage of D's gc is optional, and D's semantics are 
> much less reliant on the gc. Hence, in the interest of maximum 
> performance for most code, D does not insert write gates in the 
> generated code.

Unfortunately pretty much all the advanced GC's require write barriers.

We are almost maxed out on what we can do.

At some point its going to have to be implemented as opt-in if we want 
to allow people to experiment with them.


More information about the Digitalmars-d mailing list