reddit discussion on replacing Python in 0install

Walter Bright newshound2 at digitalmars.com
Wed Jun 12 08:56:59 PDT 2013


On 6/12/2013 8:34 AM, Steven Schveighoffer wrote:
> On Wed, 12 Jun 2013 11:32:58 -0400, Andrei Alexandrescu
> <SeeWebsiteForEmail at erdani.org> wrote:
>
>> I agree performance is not a problem. But it's just weird behavior. We should
>> flush stdout termination, anything else would have to be carefully justified -
>> and this is not.
>
> stdout is flushed on termination.  Your code just doesn't puke a stack trace if
> there is an issue after main exits.

There is main(), and then there is _Dmain(). Take a look at druntime/src/rt/dmain2.d



More information about the Digitalmars-d mailing list