RFC: reference counted Throwable
Andrei Alexandrescu via Digitalmars-d
digitalmars-d at puremagic.com
Sat Sep 20 09:50:08 PDT 2014
On 9/20/14, 7:33 AM, Dicebot wrote:
> On Saturday, 20 September 2014 at 14:31:36 UTC, Adam D. Ruppe wrote:
>> How often do you store an exception reference anyway that escapes a
>> catch block? I think all this talk is overkill to solve a non-problem
>> in 99% of practice.
>
> Pretty much any time you do fibers + async I/O : to emulate blocking API
> one needs to catch and store exceptions from I/O routines so that later
> those can be re-thrown from resumed fiber context.
Interesting. Are those stored as Object or Throwable/Exception? -- Andrei
More information about the Digitalmars-d
mailing list