Thread overview
Mobile app support?
Jul 09, 2020
Ashish yadav
Jul 09, 2020
Andre Pany
Jul 09, 2020
Jacob Carlborg
Jul 09, 2020
aberba
Jul 10, 2020
Jacob Carlborg
Jul 12, 2020
zoujiaqing
July 09, 2020
What's the state of D support for Android , iOS and Windows RT? Wouldn't it be awesome if we were able to write mobile applications cross-platform in a single language?
July 09, 2020
On Thursday, 9 July 2020 at 06:42:48 UTC, Ashish yadav wrote:
> What's the state of D support for Android , iOS and Windows RT? Wouldn't it be awesome if we were able to write mobile applications cross-platform in a single language?

Related to your question please see this project suggestion https://github.com/dlang/projects/issues/67

Kind regards
Andre
July 09, 2020
On Thursday, 9 July 2020 at 06:42:48 UTC, Ashish yadav wrote:
> What's the state of D support for Android , iOS and Windows RT? Wouldn't it be awesome if we were able to write mobile applications cross-platform in a single language?

iOS support should be working. The druntime and Phobos unit tests are passing, it hasn't really been battle tested yet. LDC ships with pre-compiled libraries for iOS 12.0 on ARM 64bit, since two versions ago. It's bundled in the macOS package. See the release notes [1].

[1] https://github.com/ldc-developers/ldc/releases/tag/v1.21.0

--
/Jacob Carlborg
July 09, 2020
On Thursday, 9 July 2020 at 11:16:29 UTC, Jacob Carlborg wrote:
> On Thursday, 9 July 2020 at 06:42:48 UTC, Ashish yadav wrote:
>> What's the state of D support for Android , iOS and Windows RT? Wouldn't it be awesome if we were able to write mobile applications cross-platform in a single language?
>
> iOS support should be working. The druntime and Phobos unit tests are passing, it hasn't really been battle tested yet. LDC ships with pre-compiled libraries for iOS 12.0 on ARM 64bit, since two versions ago. It's bundled in the macOS package. See the release notes [1].
>
> [1] https://github.com/ldc-developers/ldc/releases/tag/v1.21.0
>
> --
> /Jacob Carlborg

I figured its usually more about how to do it now and the compiler and runtime works.

I guess there's not yet a binding to say do iOS GUI or probably open a window or something.


On Android I believe Adam was talking about calling Java APIs from D on his blog. Not sure the current status though.

July 10, 2020
On Thursday, 9 July 2020 at 19:31:24 UTC, aberba wrote:

> I figured its usually more about how to do it now and the compiler and runtime works.

Yeah, I really need to write some form of tutorial. The problem is that the user experience will be quite poor, since the Objective-C support in LDC is very limited. I need to finish the support for protocols in DMD then start working on improving the support for Objective-C in LDC.

> I guess there's not yet a binding to say do iOS GUI or probably open a window or something.

Not that I know of.

--
/Jacob Carlborg
July 12, 2020
On Friday, 10 July 2020 at 09:35:33 UTC, Jacob Carlborg wrote:
> On Thursday, 9 July 2020 at 19:31:24 UTC, aberba wrote:
>
>> I figured its usually more about how to do it now and the compiler and runtime works.
>
> Yeah, I really need to write some form of tutorial. The problem is that the user experience will be quite poor, since the Objective-C support in LDC is very limited. I need to finish the support for protocols in DMD then start working on improving the support for Objective-C in LDC.
>
>> I guess there's not yet a binding to say do iOS GUI or probably open a window or something.
>
> Not that I know of.
>
> --
> /Jacob Carlborg

Thanks Jacob! Your work is so important!

If I have time later, I hope to be able to study the GUI project.