<p dir="ltr">I'm thinking something like <a href="https://www.polymer-project.org/1.0/">https://www.polymer-project.org/1.0/</a> written as <a href="http://jade-lang.org">http://jade-lang.org</a> which compiles to "target" being either android, ios, Web, or native. There is dlangui which already mimics the android ui library to some extent.</p>
<p dir="ltr">What do you think? </p>
<div class="gmail_quote">On 07 Jan 2016 07:15, "Laeeth Isharc via Digitalmars-d-announce" <<a href="mailto:digitalmars-d-announce@puremagic.com">digitalmars-d-announce@puremagic.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Wednesday, 6 January 2016 at 17:35:07 UTC, Dan Olson wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Laeeth Isharc <<a href="mailto:laeethnospam@nospam.laeeth.com" target="_blank">laeethnospam@nospam.laeeth.com</a>> writes:<br>
<br>
I think it is a good hijack!<br>
</blockquote>
<br>
Thanks..<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Somebody should do a blog post about this (and how to get it to work step by step - it's easy when you know how, but the set of people that don't and would like to but will get stuck is quite large).<br>
</blockquote>
<br>
For watchOS, soon there will be a binary release of cross compiler with phobos and will have instructions like I have for the iOS release.<br>
<br>
What is holding me up is I still am trying to decide how to manage multiple releases (iOS, tvOS, and watchOS) since the libraries are all different but the compiler is the same. It doesn't fit the mold but I'd like to have a single bin with multiple libs.<br>
</blockquote>
<br>
Yes can imagine it gets messy quickly yet is a lot of work to integrate.<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I might have a commercial use for this in coming months (both on Android and watchOS).  Since it's an internal application the rough edges are of less concern to me than if one expects 100,000+ users.<br>
</blockquote>
<br>
Laeeth, note that app store approval may be a ways off since they want to use their own LLVM to compile bitcode and I have patches not in official LLVM. If you only need to side load watchOS, then you will soon be good to go.<br>
</blockquote>
<br>
Appreciate the colour.  Side loading fine for now, and actual use is realistically some way off as I have a lot of other things to do as well.  I am in a funny business where the fewer the users I have the better (for x>=1) so my concerns are different from someone making a consumer app.<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Wrappers for everything would help a lot (and then some tutorials) - I guess the Apple stuff is under way.<br>
</blockquote>
<br>
The D Objective-C interface is not in LDC yet and I think what is in dmd so far only supports a subset (instance method calls I think).  There are other ways, depending on what you need to do, but right know it seems best to do all the UI stuff in Swift or Objective-C and use D for everything else.<br>
</blockquote>
<br>
Yes - I haven't looked at Apple at all as I have too many computers already as it is and don't have a Mac.  I wonder if it is possible to implement something like what I understand Corona have done for C# in D: make a common layer for what can be shared so work involved in customisation for each platform is minimised.<br>
<br>
I guess we are at a point now that the heavy lifting is done where some small success stories can inspire others to have a try and the ecosystem can grow.<br>
<br>
<br>
</blockquote></div>