Want reasonable reference counting? Disable automatic sharing of immutable

deadalnix deadalnix at gmail.com
Tue Nov 16 01:16:54 UTC 2021


On Monday, 15 November 2021 at 21:30:29 UTC, rikki cattermole 
wrote:
> There is nothing stopping the compiler putting immutable values 
> in ROM, nor the user who didn't know that something like 
> __mutable is in use from making memory they allocated read only.
>

How will the compiler put something that is dynamically allocated 
in ROM?



More information about the Digitalmars-d mailing list