GC: two major pain point the compiler/druntime can help with
Richard (Rikki) Andrew Cattermole
richard at cattermole.co.nz
Fri May 24 11:56:00 UTC 2024
On 24/05/2024 10:09 PM, Kagamin wrote:
> On Tuesday, 21 May 2024 at 12:34:34 UTC, Richard (Rikki) Andrew
> Cattermole wrote:
>> Does this also apply to immutable typed data?
>
> FWIW
> ```
> immutable int[] a=[0,1];
> ```
> this array goes to .data section.
So yes its mutable.
Which means you cannot do the start/end symbol linker trick to see what
does and does not need to be scanned.
More information about the Digitalmars-d
mailing list