On Saturday, 20 September 2014 at 16:50:08 UTC, Andrei
Alexandrescu wrote:
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
I'd expect Throwable. Erasing it to Object smells like a trouble
for no good. Don't know how Sonke has implemented in vibe.d
though.