std.experimental.yesnogc

ZombineDev via Digitalmars-d digitalmars-d at puremagic.com
Sun Jan 17 10:53:01 PST 2016


On Thursday, 14 January 2016 at 14:52:19 UTC, Andrei Alexandrescu 
wrote:
> On 01/14/2016 09:50 AM, bachmeier wrote:
>> On Thursday, 14 January 2016 at 07:44:16 UTC, Jacob Carlborg 
>> wrote:
>>
>>> std.experimental.memory.rc
>>> std.experimental.memory.gc
>>> std.experimental.memory.manual // or something
>>
>> +1
>
> I don't see how this categorization works. E.g. there's no need 
> for special tooling related to the GC. -- Andrei

That's not true. All of http://dlang.org/phobos/core_memory is 
about the GC. If some of the low-level stuff are put in druntime, 
then this categorization would look nice:

core.memory.gc (previously just core.memory)
core.memory.manual (something along the lines of 
https://github.com/D-Programming-Language/phobos/pull/3031)
core.memory.rc (Unique/Isolated and Shared smart pointers)




More information about the Digitalmars-d mailing list