On Tuesday, 7 January 2014 at 08:01:44 UTC, Jacob Carlborg wrote:
Unfortunately you cannot. You need Objective-C just to bring up a basic window. If you also want all the rest (application menu, dock icon and so on) which is expect from every application on Mac OS X it requires surprisingly a lot of code just to get the basics up and running.

Yes, but you can call D as a library from an Objective-C runtime.

1. Objective-C main() calls D main().
2. D main creates OSApplication facade and calls run(someDfunc) on it.
3. Objective-C event loop call back to someDfunc

Reply via email to