RFC: reference counted Throwable

Dicebot via Digitalmars-d digitalmars-d at puremagic.com
Sat Sep 20 00:44:25 PDT 2014


On Saturday, 20 September 2014 at 07:35:47 UTC, Ola Fosheim 
Grostad wrote:
> Except, I think most pure nogc projects want to eliminate 
> rtti/exceptions too...

It should be possible to do on top of plain @nogc Phobos by 
simply hooking into druntime _d_throw function and providing some 
own domain-specific handler instead. Of course it doesn't help if 
exceptions are used to indicate casual data processing signals 
but it is something else to be fixed in Phobos :)


More information about the Digitalmars-d mailing list