[OT] Why mobile web apps are slow

John Colvin john.loughran.colvin at gmail.com
Tue Jul 16 11:52:58 PDT 2013


On Tuesday, 16 July 2013 at 18:21:05 UTC, Jonathan A Dunlap wrote:
>> You can also make use of library types for reference counting,
>>
>> http://dlang.org/phobos/std_typecons.html#.RefCounted
>>
>> And if you really, really need, also manual memory management 
>> by calling the C functions and letting the GC know not to 
>> track that memory.
>>
>> http://dlang.org/phobos/core_memory.html#.GC.BlkAttr.NO_SCAN
>
> Fascinating! I assume the Phobos RefCounted then avoids using 
> the GC by utilizing GC.malloc (NO_SCAN) behind the scenes?

Nope, just plain old malloc and free from core.stdc.stdlib


More information about the Digitalmars-d mailing list