New pointer type for GC

via Digitalmars-d digitalmars-d at puremagic.com
Tue May 27 07:18:54 PDT 2014


On Tuesday, 27 May 2014 at 13:58:26 UTC, Etienne wrote:
> That's true, though you still need the thread ID for references 
> to pointers and you need to be able to pass those pointers to C.

I am not really sure how useful references to gc-pointers is. I 
certainly would trade them in for multiple return values. I also 
think it is reasonable to ban transfer of GC mem to C code if all 
GC mem is accounted for with gc-typed pointers...


More information about the Digitalmars-d mailing list