Re: voldemort stack traces (and bloat)

2016-02-08 Thread Steven Schveighoffer via Digitalmars-d
On 2/8/16 8:19 AM, wobbles wrote: On Monday, 8 February 2016 at 13:01:44 UTC, Steven Schveighoffer wrote: On 2/7/16 12:18 AM, Steven Schveighoffer wrote: I have a library where I was using very many voldemort types a la std.range. [snip] Is there a better way we should be doing this? I'm w

Re: voldemort stack traces (and bloat)

2016-02-08 Thread wobbles via Digitalmars-d
On Monday, 8 February 2016 at 13:01:44 UTC, Steven Schveighoffer wrote: On 2/7/16 12:18 AM, Steven Schveighoffer wrote: I have a library where I was using very many voldemort types a la std.range. [snip] Is there a better way we should be doing this? I'm wondering if voldemort types are re

Re: voldemort stack traces (and bloat)

2016-02-08 Thread Steven Schveighoffer via Digitalmars-d
On 2/7/16 12:18 AM, Steven Schveighoffer wrote: I have a library where I was using very many voldemort types a la std.range. [snip] Is there a better way we should be doing this? I'm wondering if voldemort types are really worth it. They offer a lot of convenience, and are much DRYer than se

Re: voldemort stack traces (and bloat)

2016-02-07 Thread Nicholas Wilson via Digitalmars-d
On Monday, 8 February 2016 at 01:48:32 UTC, Steven Schveighoffer wrote: On 2/7/16 10:42 AM, Iakh wrote: On Sunday, 7 February 2016 at 05:18:39 UTC, Steven Schveighoffer wrote: 4 testexpansion 0x00010fb5dbec pure @safe void testexpansion.s!(testexpansion.s!(testexpan

Re: voldemort stack traces (and bloat)

2016-02-07 Thread Steven Schveighoffer via Digitalmars-d
On 2/7/16 10:42 AM, Iakh wrote: On Sunday, 7 February 2016 at 05:18:39 UTC, Steven Schveighoffer wrote: 4 testexpansion 0x00010fb5dbec pure @safe void testexpansion.s!(testexpansion.s!(testexpansion.s!(testexpansion.s!(testexpansion.s! Why "bad" foo is void? Huh?

Re: voldemort stack traces (and bloat)

2016-02-07 Thread Steven Schveighoffer via Digitalmars-d
On 2/7/16 5:20 AM, deadalnix wrote: On Sunday, 7 February 2016 at 05:18:39 UTC, Steven Schveighoffer wrote: Thoughts? And no line number. But hey, these are convenience for youngsters. We real program, who type on the keyboard using our balls, don't need such distractions. Remind me never t

Re: voldemort stack traces (and bloat)

2016-02-07 Thread Iakh via Digitalmars-d
On Sunday, 7 February 2016 at 05:18:39 UTC, Steven Schveighoffer wrote: 4 testexpansion 0x00010fb5dbec pure @safe void testexpansion.s!(testexpansion.s!(testexpansion.s!(testexpansion.s!(testexpansion.s! Why "bad" foo is void? Is there a better way we should be do

Re: voldemort stack traces (and bloat)

2016-02-07 Thread deadalnix via Digitalmars-d
On Sunday, 7 February 2016 at 05:18:39 UTC, Steven Schveighoffer wrote: Thoughts? And no line number. But hey, these are convenience for youngsters. We real program, who type on the keyboard using our balls, don't need such distractions.

voldemort stack traces (and bloat)

2016-02-06 Thread Steven Schveighoffer via Digitalmars-d
I have a library where I was using very many voldemort types a la std.range. While debugging I had an exception triggered, but I found that the library *pauses* significantly while printing the exception. What I found is essentially that using voldemort types results in horrible stack traces.