Plan for D

Ola Fosheim Grostad ola.fosheim.grostad at gmail.com
Sun May 16 16:33:32 UTC 2021


On Sunday, 16 May 2021 at 12:42:44 UTC, Bastiaan Veelo wrote:
> On Sunday, 16 May 2021 at 10:50:38 UTC, Johan Engelen wrote:
>> On Sunday, 16 May 2021 at 03:58:15 UTC, Mike Parker wrote:
>>> On Sunday, 16 May 2021 at 03:46:50 UTC, Ola Fosheim Grostad 
>>> wrote:
> Ola's statement that
>
>> dmd does not ship with GC enabled
>
> is false, given the 
> [-lowmem](https://dlang.org/dmd-windows.html#switch-lowmem) 
> compiler option:
>> -lowmem
>>    Enable the garbage collector for the compiler, reducing the 
>> compiler memory requirements but increasing compile times.
>
> So dmd *as shipped* can be used with and without the GC, the 
> default being fast. You've got to have a default.

So, you just confirmed that my statement was true.

My MAIN POINT was however that D does not have a system level 
management option if it does not have an option that deemed good 
enough for DMD. And that would be the default.

Calling free manually isnt it, because that is manual management 
that nobody wants to do, and not calling free is even worse.

Whatever the default is, it should be a memory management 
solution that can be recommended and pointed to as a feature, by 
being the default that solution would be given priority.

Simple language development strategy to ensure improved quality 
over time.






More information about the Digitalmars-d mailing list