std.allocator ready for some abuse

Namespace rswhite4 at googlemail.com
Fri Oct 25 03:02:07 PDT 2013


On Friday, 25 October 2013 at 09:51:40 UTC, Maxim Fomin wrote:
> On Friday, 25 October 2013 at 09:37:23 UTC, Namespace wrote:
>>
>> We would have then the possibility to manage our memory by 
>> ourself. One of D's promises is, that the GC can be disabled. 
>> Yes, it can, but then we have many many things which do not 
>> work. For example built-in arrays.
>
> Not only arrays, but classes, throwables, scope exits, new 
> operator, nested structs, etc.

Thats right.
But I often use temporary arrays, but I still don't like them 
because they are always consume so much GC memory. But with 
allocators that would end.
Let us hope that Walter has the right intention and that Andrei 
design the allocators for this purpose.


More information about the Digitalmars-d mailing list