GC attribute modifications use case?

Dmitry Olshansky dmitry.olsh at gmail.com
Sun Dec 22 18:41:05 UTC 2024


On Sunday, 22 December 2024 at 04:05:50 UTC, Steven Schveighoffer 
wrote:
> A general request for information here.
>
> The D GC is in the unfortunate state of having internal 
> attributes modifiable at any time by user code.
>
> [...]

I’m doing the same in my allocator. Simply assuming that NO_SCAN 
is unsettable

> But obviously, this means setting the bit is not feasible -- it 
> would require reallocating.
>
> [...]



More information about the Digitalmars-d mailing list