Prevent struct going into heap memory
Atila Neves
atila.neves at gmail.com
Thu Jul 31 08:42:50 UTC 2025
On Monday, 21 July 2025 at 02:10:09 UTC, Richard (Rikki) Andrew
Cattermole wrote:
> On 21/07/2025 2:03 PM, Paul Backus wrote:
>> Problem is, some people believe it shouldn't. Hence this
>> proposal to
>> give those that want that "reliability" control to make it
>> so.
>>
>> If there are people who believe that (a) the struct instance
>> should be allocated with the GC, but (b) the GC should not be
>> responsible for its cleanup, then those people are wrong,
>> plain and simple.
>
> Ah no, they don't like the GC introducing unreliability to the
> cleanup.
"Doctor, doctor, it hurts when I do this".
The GC isn't even guaranteed to run, I don't know what the
alternative would be.
More information about the dip.ideas
mailing list