June 05, 2015 Re: I finally got a stack trace on my InvalidMemoryOperationError | ||||
|---|---|---|---|---|
| ||||
Posted in reply to Vladimir Panteleev | On Friday, 5 June 2015 at 01:12:56 UTC, Vladimir Panteleev wrote:
> On Friday, 5 June 2015 at 01:07:28 UTC, Etienne wrote:
>> I mean come on here, I made a fatal error and my application is overdue for crashing every thread and D is so broken that it adds a deadlock on top of that, and you're telling me you'll feel guilty for allocating the stack trace on the GC because it's in an invalid state.
>
> There probably wouldn't be any problem with using the C heap or something. Using the GC is just making it likely to crash while trying to allocate it.
>
>> Something is simply wrong with the community culture as a whole if that's the case.
>
> http://forum.dlang.org/post/nkwpjnydlqnnpsxsttto@forum.dlang.org
is there a reason that dmd doesn't just ship both like ldc?
| |||
June 05, 2015 Re: I finally got a stack trace on my InvalidMemoryOperationError | ||||
|---|---|---|---|---|
| ||||
Posted in reply to Etienne | On Friday, 5 June 2015 at 01:07:28 UTC, Etienne wrote:
> On Friday, 5 June 2015 at 00:45:01 UTC, Vladimir Panteleev wrote:
>> On Friday, 5 June 2015 at 00:41:37 UTC, Etienne wrote:
>>> Well that's probably why it should inherit Throwable then.
>>
>> Why?
>>
>>> There's no good reason to care more about the experimental program than about the mental health of the programmer writing it.
>>
>> Maybe one day we'll start including a debug version of the standard library with the distribution, with stack frames and stuff.
>>
>> DMD has had a -debuglib switch for a while, but it's not used in default installations.
>
> I compiled debug version of druntime, phobos and I'm an expert with GDB. That's not the issue. The issue is that D has become knee-deep with technicals implementing a new attribute for every edge case but forgetting that the average programmer wants a little arrow pointing at their mistakes.
>
> I mean come on here, I made a fatal error and my application is overdue for crashing every thread and D is so broken that it adds a deadlock on top of that, and you're telling me you'll feel guilty for allocating the stack trace on the GC because it's in an invalid state. Something is simply wrong with the community culture as a whole if that's the case.
+1000
;-P
| |||
Copyright © 1999-2021 by the D Language Foundation
Permalink
Reply