Why do we have Dmain?

SealabJaster sealabjaster at gmail.com
Mon Oct 25 10:59:41 UTC 2021

On Monday, 25 October 2021 at 07:49:44 UTC, user1234 wrote:
> in addition to the other answers, there's also the parameters 
> of main:

Also, all programs running under the D runtime have special 
command line arguments(`--DRT` arguments). The Runtime needs to 
be able to parse those arguments at some point (among other 
initilisation), hence why the runtime handles the "true" main for 

More information about the Digitalmars-d-learn mailing list