std.allocator ready for some abuse

Namespace rswhite4 at googlemail.com
Fri Oct 25 02:37:22 PDT 2013


On Friday, 25 October 2013 at 09:26:46 UTC, Maxim Fomin wrote:
> On Friday, 25 October 2013 at 08:53:00 UTC, Namespace wrote:
>> A dream could come true.
>
> It depends on how Andrei design allocators, Walter's 
> willingness to accept changes and developers to implement it.

Therefore the 'could'. But if this would be implemented, I'm sure 
that this would give D good advantages to be a real opponent for 
C++.

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. With the ability of allocators the 
promise could come true.


More information about the Digitalmars-d mailing list