Why do we have Dmain?

Kirill kirill.saidov at mail.com
Fri Oct 22 05:54:21 UTC 2021

I am not a compiler expert, but I genuinely would like to know 
why we have Dmain.

I've been looking at the generated assembly code recently and 
noticed the _Dmain function. I didn't notice it before. Then 
there is main, where Dmain is called.

Why is that?

More information about the Digitalmars-d-learn mailing list