On 2013-11-14 19:14:03 +0000, Jacob Carlborg <d...@me.com> said:

On 2013-11-14 17:21, Chris wrote:

Thanks for your reply, Kai. That's good news, however iOS and Android
support is crucial. I hope D can soon be ported to ARM, it's just too
important.

If you want to do anything useful on iOS you need to use Objective-C libraries, for that you bascilly need this:

http://michelf.ca/projects/d-objc/

Latest update, but still quite outdated: https://github.com/jacob-carlborg/dmd/tree/d-objc

Still no modern runtime support I'd guess? With support only for the legacy runtime you're stuck compiling for 32-bit OS X only; 32-bit iOS uses the modern runtime.

And since the DMD backend won't emit ARM code, if I were still working on this the first thing I'd do is rebase everything to work on top of LDC.

Once upon a time, I did port a D game to iOS. I translated it to C++. But the amount of Objective-C code was pretty minimal at the end. If I had an ARM-capable D compiler at that time, even with no Objective-C support, I could have lived happily with D.
http://michelf.ca/projects/tumiki-fighters/

--
Michel Fortin
michel.for...@michelf.ca
http://michelf.ca

Reply via email to