<div dir="ltr">LLVM probably already supports producing native code for all of the architectures for the mobile platforms. The non-trivial parts are probably getting GHC to cross-compile and wrapping all of the libraries you need for the platforms you want to support.</div>
<div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, Jan 19, 2013 at 12:41 PM, KC <span dir="ltr">&lt;<a href="mailto:kc1956@gmail.com" target="_blank">kc1956@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Then it looks as if the easier implementation would be small Haskell<br>
VM&#39;s for the various platforms with a byte code compiler.<br>
I do not believe the JVM supports all the optimizations GHC can do.<br>
<br>
Oh wait!<br>
Can the LLVM be easily ported to do this?<br>
<div class="im"><br>
<br>
On Sat, Jan 19, 2013 at 11:40 AM, Andrew Pennebaker<br>
&lt;<a href="mailto:andrew.pennebaker@gmail.com">andrew.pennebaker@gmail.com</a>&gt; wrote:<br>
&gt;<br>
&gt;&gt; Might be easier to have the browser connect to a Haskell app.<br>
&gt;<br>
&gt;<br>
</div>&gt; Not all apps can be run as thin clients. 3D video games and other intensive<br>
&gt; programs aren&#39;t easily done as thin clients. Mobile Haskell would be very<br>
&gt; powerful, because concurrency and parallelism aren&#39;t something the C-family<br>
&gt; languages are supporting that well.<br>
<div class="HOEnZb"><div class="h5">&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; On Sat, Jan 19, 2013 at 10:42 AM, Andrew Pennebaker<br>
&gt;&gt; &lt;<a href="mailto:andrew.pennebaker@gmail.com">andrew.pennebaker@gmail.com</a>&gt; wrote:<br>
&gt;&gt; &gt; There are currently very few options, especially free and open source<br>
&gt;&gt; &gt; options, when it comes to developing cross-platform mobile applications.<br>
&gt;&gt; &gt; It&#39;s basically web apps with JavaScript, or C++. If Haskell supported<br>
&gt;&gt; &gt; app<br>
&gt;&gt; &gt; development on Android, iOS, and Windows RT, that alone would bring in<br>
&gt;&gt; &gt; more<br>
&gt;&gt; &gt; developers.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Similarly, there are very few languages for mobile development that take<br>
&gt;&gt; &gt; advantage of multiple cores and multiple CPUs. Haskell&#39;s `parmap` is an<br>
&gt;&gt; &gt; amazing selling point. Can we please prioritize mobile support? I&#39;d much<br>
&gt;&gt; &gt; rather write everything in ML than PhoneGap.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; --<br>
&gt;&gt; &gt; Cheers,<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Andrew Pennebaker<br>
&gt;&gt; &gt; <a href="http://www.yellosoft.us" target="_blank">www.yellosoft.us</a><br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; _______________________________________________<br>
&gt;&gt; &gt; Haskell-Cafe mailing list<br>
&gt;&gt; &gt; <a href="mailto:Haskell-Cafe@haskell.org">Haskell-Cafe@haskell.org</a><br>
&gt;&gt; &gt; <a href="http://www.haskell.org/mailman/listinfo/haskell-cafe" target="_blank">http://www.haskell.org/mailman/listinfo/haskell-cafe</a><br>
&gt;&gt; &gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; --<br>
&gt;&gt; --<br>
&gt;&gt; Regards,<br>
&gt;&gt; KC<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; Cheers,<br>
&gt;<br>
&gt; Andrew Pennebaker<br>
&gt; <a href="http://www.yellosoft.us" target="_blank">www.yellosoft.us</a><br>
<br>
<br>
<br>
--<br>
--<br>
Regards,<br>
KC<br>
<br>
_______________________________________________<br>
Haskell-Cafe mailing list<br>
<a href="mailto:Haskell-Cafe@haskell.org">Haskell-Cafe@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/haskell-cafe" target="_blank">http://www.haskell.org/mailman/listinfo/haskell-cafe</a><br>
</div></div></blockquote></div><br></div>