RFC: reference counted Throwable
Olivier Pisano via Digitalmars-d
digitalmars-d at puremagic.com
Sat Sep 20 00:46:31 PDT 2014
On Saturday, 20 September 2014 at 06:28:11 UTC, Paulo Pinto wrote:
>
> This is one of the reasons why the Objective-C GC failed.
>
> Mixing Frameworks compiled with both modes never worked
> properly.
>
> --
> Paulo
Yes this was a huge failure to take into account.
Linking code where Throwable inherits from Object with code where
Throwable inherits from RCObject... :(
If making the GC completely optional is a must, then error
handling shouldn't rely on it at all, no? What about completely
switching exception handling to RC ? Would it have an impact on
memory safety since exeption handling mecanism is somehow
"magical code generated by the compiler" ?
More information about the Digitalmars-d
mailing list