Feedback from the Gripes and Wishes Campaign
Sebastiaan Koppe
mail at skoppe.eu
Sun May 28 07:12:22 UTC 2023
On Sunday, 28 May 2023 at 07:02:53 UTC, Walter Bright wrote:
> On 5/27/2023 6:40 PM, Steven Schveighoffer w
>> In any case, migrating `malloc` calls to `new` and ignoring
>> `free` should still be fine in this case.
>
> That's how dmd used to operate, but people ran out of memory.
I never quite liked the reasoning that leaking is fine because
its just a batch program.
I see teardown as an important part of a program. Relying on the
OS to do it for you will likely come back to bite you at some
point.
More information about the Digitalmars-d
mailing list