On 6/12/2013 8:34 AM, Steven Schveighoffer wrote:
On Wed, 12 Jun 2013 11:32:58 -0400, Andrei Alexandrescu
<seewebsiteforem...@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

Reply via email to