Proposal: Exceptions and @nogc

crimaniak via Digitalmars-d digitalmars-d at puremagic.com
Sun Apr 2 19:02:11 PDT 2017


On Sunday, 2 April 2017 at 05:16:23 UTC, Walter Bright wrote:
> Using a ref counted solution brings with it a host of problems 
> because
> the compiler is not set up to ref count class object 
> references, nor
> is any existing code set up to deal with that.
Please describe in more detail the problems in this part. If you 
are still planning to introduce RC-based objects into the 
language, then it is not obvious that the dedicated allocators in 
the runtime are better than using RC-based exception objects.




More information about the Digitalmars-d mailing list