www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Mobile app support?

reply Ashish yadav <ashking0198 gmail.com> writes:
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?
Jul 08 2020
next sibling parent Andre Pany <andre s-e-a-p.de> writes:
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
Jul 09 2020
prev sibling parent reply Jacob Carlborg <doob me.com> writes:
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
Jul 09 2020
parent reply aberba <karabutaworld gmail.com> writes:
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.
Jul 09 2020
parent reply Jacob Carlborg <doob me.com> writes:
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
Jul 10 2020
parent zoujiaqing <zoujiaqing gmail.com> writes:
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.
Jul 12 2020