@live questions

Walter Bright newshound2 at digitalmars.com
Wed Nov 25 10:51:12 UTC 2020


On 11/22/2020 3:14 AM, Dibyendu Majumdar wrote:
> @live is more complicated I suppose as it can't deal with GC pointers?

It's not that it can't deal with them. It's that it treats them as any other 
pointer.

Adding a type constructor that says "this pointer is a GC pointer" is a major 
escalation in complexity of the language. Other languages have done it (see 
Microsoft's "Managed C++") but I don't think it caught on because I haven't 
heard much about it in years.



More information about the Digitalmars-d mailing list