开发者

D programming & iPhone

I've just started learning "D Programming". I'd like to deploy my programs on an iPhone. which has me wondering; is is possible to develop for a Mac or iPhone using D?. I'd like the application to be completely written D or at least minimal obj开发者_高级运维ective-c. Am I starting a hopeless battle by choosing D over the other mainstream languages (c/c++/java/objective-c/c#)?


Never say never, michelf has been working on a D/Objective-C bridge for a while.

Here's the old site: http://michelf.com/projects/d-objc-bridge/

The current efforts can be watched at https://github.com/michelf/dmd/tree/d-objc Have a look at the readme.


You won't be able to do D Programming Language on the iPhone.

On Mac OS though, you can use GCC to compile your D code.


take a peek at http://michelf.com/projects/d-for-xcode/ it's the installer package for D for Xcode (the latest version, so not the uncompleted D 1.0 version from 2007). although since xcode 4.2 is just released, this installer is a bit out of date and not fully supported yet. but for me it works just fine, except from the fancy syntax highlighting and auto-completion. be sure to give it a look :)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜