What is the state of D with Android/iOS
Rishub Nagpal via Digitalmars-d
digitalmars-d at puremagic.com
Tue Feb 24 09:55:58 PST 2015
On Tuesday, 24 February 2015 at 17:15:28 UTC, Joakim wrote:
> On Tuesday, 24 February 2015 at 13:44:07 UTC, Rishub Nagpal
> wrote:
>> Is D currently mature enough to create binaries for
>> android/iOS? I've been researching this, but most posts
>> predate 2013, and I wanted to know what was the current status.
>
> Mature enough? Sure, but that doesn't mean the support is
> there.
>
>> D bindings for the JNI is certainly possible, so by extension
>> it should be possible to call D libraries with Android's NDK,
>> correct?
>
> If you simply want to call a D library within an Android/iOS
> app, that's possible, though there are still some rough edges.
> Specifically, there is still some work to be done with certain
> floating-point operations on iOS
> (http://forum.dlang.org/post/m2mw4tab0w.fsf@comcast.net) and
> while Android/x86 will work fine
> (http://wiki.dlang.org/Build_DMD_for_Android), Android/ARM
> doesn't currently support TLS. That lack of TLS support means
> you'd have to run a slightly patched druntime and I'm fairly
> certain phobos wouldn't work.
Could any of these patches be used as a basis to remedy it?
https://groups.google.com/forum/#!topic/0xlab-devel/aSOcm3c9PFk
https://bugs.kde.org/show_bug.cgi?id=302709
Could you in theory recompile Android to support TLS and then try
to compile an executable for Android/ARM ?
More information about the Digitalmars-d
mailing list