On Wednesday, 8 January 2014 at 12:50:54 UTC, Jacob Carlborg wrote:
It's Windows that is lame. Every other platform uses a normal main function.

eh they're really in the same boat. Declaring your own WinMain is kinda like declaring your own _start symbol on linux. It skips the runtime's main() function and you're more on your own.

Both the C and the D runtimes implement their own entry point which calls into your program's main and you can use these consistently across platforms.

Reply via email to