RFC: reference counted Throwable

Walter Bright via Digitalmars-d digitalmars-d at puremagic.com
Fri Sep 19 23:01:13 PDT 2014


On 9/19/2014 10:32 PM, Ola Fosheim Grostad wrote:
> On Saturday, 20 September 2014 at 05:24:11 UTC, Walter Bright wrote:
>> D can have ref counted objects, but it will not work with a compiler switch to
>> switch them back and forth. They'll have to coexist peacefully with GC objects.
>
> If you don't expose the refcount, write libraries as if you have only RC, and
> don't expose destructors then you probably can. Just turn inc/dec into dummies.

This doesn't address any of the 3 concerns.


More information about the Digitalmars-d mailing list