RFC: reference counted Throwable

Jacob Carlborg via Digitalmars-d digitalmars-d at puremagic.com
Fri Sep 19 12:42:36 PDT 2014


On 2014-09-19 17:32, Andrei Alexandrescu wrote:

> Whenever a reference to a Throwable is copied about, passed to
> functions, the compiler inserts appropriately calls to e.g. incRef and
> decRef. (Compiler may assume they cancel each other for optimization
> purposes.) Implementation of these is up to the runtime library.

Are you suggesting we implement ARC?

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list