On Sunday, 5 June 2016 at 10:37:49 UTC, poliklosio wrote:
On Sunday, 5 June 2016 at 06:25:28 UTC, HubCool wrote:
Can you elaborate on how to dispose the exception?
I'm partilularly interested in the code you would write in
place of the /*can dispose here too...*/ comment.
I don't know from whe
On Sunday, 5 June 2016 at 10:37:49 UTC, poliklosio wrote:
Also, exceptions are not necessarily for bugs. There may be
used sometimes for bug handling when other things like static
typing and assertions are not enough, but bug handling is not
the core reason for havi ng exceptions in languages.
On Sunday, 5 June 2016 at 06:25:28 UTC, HubCool wrote:
(...)
But I'd say that the leak doesn't matter. Either the soft has a
very small problem that happens once eventually, otherwise it's
a big bug and new exceptions will come so often that the
program has to be killed immediatly.
+
On Sunday, 5 June 2016 at 00:05:15 UTC, poliklosio wrote:
I need to throw some exceptions in my code, but I don't want to
ever care about the garbage collector.
I have seen some solutions to throwing exceptions in nogc code,
but only toy examples, like
https://p0nce.github.io/d-idioms/#Throwi
On 06/04/2016 05:05 PM, poliklosio wrote:
I need to throw some exceptions in my code, but I don't want to ever
care about the garbage collector.
I have seen some solutions to throwing exceptions in nogc code, but only
toy examples, like
https://p0nce.github.io/d-idioms/#Throwing-despite-@nogc
T
I need to throw some exceptions in my code, but I don't want to
ever care about the garbage collector.
I have seen some solutions to throwing exceptions in nogc code,
but only toy examples, like
https://p0nce.github.io/d-idioms/#Throwing-despite-@nogc
The solution sort of works, but doesn't s