What happens when you launch a D application ?

Maxim Fomin via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sat May 23 10:34:38 PDT 2015


On Saturday, 23 May 2015 at 10:57:22 UTC, Suliman wrote:
>>Every D program is started as if it were a C program.
> Why is so necessary?
>
> What about C++ and other languages? Does they have more then 
> one main?
>
> Why it's more than one main is needed? Why D apps can't start 
> with single main?

You could have obtained answer long time ago by using debugger 
and looking into sources of druntime at github.


More information about the Digitalmars-d-learn mailing list