iPhone vs Android

Walter Bright via Digitalmars-d digitalmars-d at puremagic.com
Tue Sep 13 23:05:54 PDT 2016

On 9/13/2016 10:38 PM, Shachar Shemesh wrote:
> But if you do want to allow it, then my original problem comes back. You have to
> scan the malloced memory because you are not sure where that memory might
> contain pointers to GC managed memory.

If mallocing for types that are statically known at compile time, it should be 
knowable if they need scanning or not.

> And the hybrid hybrid approach (i.e. - only some of the memory allocated by
> malloc is scanned) is a wasp nest of potential bugs and problems.

True. Manual memory allocation is that way. Hopefully RC will be better.

More information about the Digitalmars-d mailing list