Plan for D
Ola Fosheim Grostad
ola.fosheim.grostad at gmail.com
Sun May 16 06:44:09 UTC 2021
On Sunday, 16 May 2021 at 05:50:12 UTC, Mike Parker wrote:
> Yeah, and...? dmd a very short-running program, and its
> allocated memory is released when it exits.
No, it isnt very short-running. And that is not a valid argument
either, as the user may have other tasks that need the memory.
To keep it short:
Programs that acquire significantly more resources than needed
are misbehaving. Never met anyone disagreeing with this view.
Memory management is insignificant time wise if you have a
solution suitable for systemsprogramming.
If D does not have a memory management solution suitable for DMD,
then D does not have a solution for systems level programming,
yet...
If this is difficult to accept, then there is no hope of
improvements.
> The GC is not a panacea. It's not suitable for every use case
> or performance goal. And that's perfectly fine.
If GC is suitable for anything system level, it would be a batch
program like a compiler.
More information about the Digitalmars-d
mailing list