<br><br><div class="gmail_quote">On Sun, Jan 30, 2011 at 2:30 AM, Gary Whatmore <span dir="ltr"><no@spam.sp></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">Jonathan M Davis Wrote:<br>
<br>
> On Sunday 30 January 2011 00:05:59 Gary Whatmore wrote:<br>
</div><div><div></div><div class="h5">> > jim_g Wrote:<br>
> > > What I tried to say is, in my opinion, a language with only a half or a<br>
> > > quarter of D's improvements over C++ would be more successful on<br>
> > > smartphone/tablet platforms than yet another x86 oriented language, no<br>
> > > matter how good. The killer feature is to be in the right place and the<br>
> > > right time.<br>
> ><br>
> > That's clearly not true. D is a revolutionary new language. It's supposed<br>
> > to replace most of the mainstream language including C/C++, C#, Objective<br>
> > C, and Java. The scripting capabilities also make D a good competitor for<br>
> > the notorious Python, leading to several orders of magnitude better<br>
> > performance than slow VM languages give. We have a Python fan (bearphile)<br>
> > in this mailing list who has several times shown how D outperforms Python<br>
> > (which probably is the fastest scripting language).<br>
> ><br>
> > D's main focus currently is 32-bit x86 servers and desktop applications.<br>
> > This is where the big market has traditionally been. Not everyone has<br>
> > 64-bit hardware and I have my doubts about the size of the smartphone<br>
> > markets. The modern iterators, streams, and XML processing in Phobos 2<br>
> > help in these a lot. D is also fully open source which means it's a<br>
> > perfect replacement for open source frameworks (Qt).<br>
><br>
</div></div><div class="im">> I do think that it would be a definite boon to be able to create D programs for<br>
> smart phones, but the overall focus of D development has been on the language<br>
> itself and the standard libraries, not on making it work on additional<br>
> platforms. That's a backend issue. It will likely be addressed at some point,<br>
> but it's not a priority. There's just too much else to do.<br>
><br>
> Not to mention, until some of the D GUI toolkits - such as QtD - are more<br>
> mature, I'm not sure how feasible it would be to create smart phone applications<br>
> anyway. GUI development is not one of D's strong suits at this point. It's being<br>
> addressed, but it takes time.<br>
<br>
</div>Another point worth noting is that these phones are really limited. It doesn't make sense to run a garbage collected D in them. Mine has 96x65 pixels according to Wikipedia. It likely has few kilobytes of RAM. A simple hello world wouldn't fit in the ram. Would be much better to replace Qt for desktop users with a GUI written in D.<br>

<font color="#888888"><br></font></blockquote><div><br></div><div>Firstly, this quote may interest you:</div><div>"<span class="Apple-style-span" style="font-family: sans-serif; font-size: 13px; line-height: 19px; ">The Android operating system consists of 12 million <a href="http://en.wikipedia.org/wiki/Source_lines_of_code" title="Source lines of code" style="text-decoration: none; color: rgb(6, 69, 173); background-image: none; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: initial; background-position: initial initial; background-repeat: initial initial; ">lines of code</a> including 3 million lines of <a href="http://en.wikipedia.org/wiki/Xml" title="Xml" class="mw-redirect" style="text-decoration: none; color: rgb(6, 69, 173); background-image: none; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: initial; background-position: initial initial; background-repeat: initial initial; ">XML</a>, 2.8 million lines of <a href="http://en.wikipedia.org/wiki/C_(programming_language)" title="C (programming language)" style="text-decoration: none; color: rgb(6, 69, 173); background-image: none; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: initial; background-position: initial initial; background-repeat: initial initial; ">C</a>, 2.1 million lines of <a href="http://en.wikipedia.org/wiki/Java_(programming_language)" title="Java (programming language)" style="text-decoration: none; color: rgb(6, 69, 173); background-image: none; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: initial; background-position: initial initial; background-repeat: initial initial; ">Java</a>, and 1.75 million lines of <a href="http://en.wikipedia.org/wiki/C%2B%2B" title="C++" style="text-decoration: none; color: rgb(6, 69, 173); background-image: none; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: initial; background-position: initial initial; background-repeat: initial initial; ">C++</a>.<sup id="cite_ref-19" class="reference" style="line-height: 1em; font-weight: normal; font-style: normal; "><a href="http://en.wikipedia.org/wiki/Android_(operating_system)#cite_note-19" style="text-decoration: none; color: rgb(6, 69, 173); background-image: none; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: initial; white-space: nowrap; background-position: initial initial; background-repeat: initial initial; "><span style="text-decoration: none; color: rgb(6, 69, 173); background-image: none; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: initial; white-space: nowrap; ">[</span><font class="Apple-style-span" color="#0645AD" style="text-decoration: none; color: rgb(6, 69, 173); background-image: none; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: initial; white-space: nowrap; "><span class="Apple-style-span" style="background-attachment: initial; background-origin: initial; background-clip: initial; background-color: initial; white-space: nowrap;">20</span></font><span style="text-decoration: none; color: rgb(6, 69, 173); background-image: none; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: initial; white-space: nowrap; ">]</span></a>"</sup></span></div>
<div><br></div><div><span class="Apple-style-span" style="font-family: sans-serif; font-size: 13px; line-height: 19px; "><sup id="cite_ref-19" class="reference" style="line-height: 1em; font-weight: normal; font-style: normal; "></sup></span>Yes, all that is on every Android phone, and there's enough capacity to run pretty demanding applications on top of that. If Android can fit all of that and run a few Dalvik Java VMs on top of that, I'd say you don't need to worry so much about the phones being limited. Yes, you need to worry about executable size, but it's not nearly as impossible as you seem to think.</div>
<meta http-equiv="content-type" content="text/html; charset=utf-8"></div><br>