<div dir="ltr"><div><div>church% hastec --version<br>0.2.9<br><br>church% cat > Hello.hs<br>module Main where<br>main = print "Hello world."<br><br>church% hastec --opt-google-closure --start=asap Hello.hs<br>
Compiling Main into .<br>Linking Hello.js<br>Linking Main<br>Linking GHC.IO.Handle.Text<br>Linking Haste.Handle<br>Linking GHC.Tuple<br>Linking GHC.Types<br>Linking GHC.Show<br>Linking GHC.List<br>Linking GHC.Base<br>Linking <a href="http://GHC.IO">GHC.IO</a><br>
Running the Google Closure compiler on Hello.js...<br><br>church% nodejs Hello.js<br>"Hello world."<br><br><br>Hello.js 5750 Bytes (46746 bytes without google closure).<br></div></div><div><div><br></div></div></div>
<div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Nov 13, 2013 at 3:56 PM, Anton Nikishaev <span dir="ltr"><<a href="mailto:me@lelf.lu" target="_blank">me@lelf.lu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">Ömer Sinan Ağacan <<a href="mailto:omeragacan@gmail.com">omeragacan@gmail.com</a>> writes:<br>
<br>
> That's great news. I wonder if that means it'll be end for Fay and<br>
> similar languages?<br>
<br>
</div>GHCJS's Hello World is 2.1M worth of javascript (well, that's how it was<br>
several month ago, maybe it's better now?). And even google closure<br>
compiled with advanced optimizations it's ~500K.<br>
<br>
Fay's output is 5K after google-closure-mumbo-jumbo.<br>
<div class="im HOEnZb"><br>
<br>
<br>
> 2013/11/12 Patrick Mylund Nielsen <<a href="mailto:haskell@patrickmylund.com">haskell@patrickmylund.com</a>>:<br>
>> On Tue, Nov 12, 2013 at 12:24 PM, Jeremy Shaw <<a href="mailto:jeremy@n-heptane.com">jeremy@n-heptane.com</a>> wrote:<br>
>>><br>
>>> On Mon, Nov 11, 2013 at 1:32 PM, Ömer Sinan Ağacan <<a href="mailto:omeragacan@gmail.com">omeragacan@gmail.com</a>><br>
>>> wrote:<br>
>>> > I'm aware of this, but when I first tried it a few months ago, it was<br>
>>> > not easy to use at all. Is it changed now?<br>
>>><br>
>>> Last I heard, Luite was waiting for GHC 7.8 to be released because it<br>
>>> contains changes that will allow him to upload ghcjs to hackage and<br>
>>> then you will be able to just cabal install it. I could be wrong<br>
>>> though.<br>
>><br>
>><br>
>> As far as I know, that's correct.<br>
>><br>
>> The easiest way to install and use it right now is using their Vagrant<br>
>> setup:<br>
>> <a href="http://www.reddit.com/r/haskell/comments/1fvv5q/ghcjs_introduction_concurrent_haskell_in_the/caeifun" target="_blank">http://www.reddit.com/r/haskell/comments/1fvv5q/ghcjs_introduction_concurrent_haskell_in_the/caeifun</a><br>

<br>
</div><span class="HOEnZb"><font color="#888888">--<br>
lelf<br>
</font></span><div class="HOEnZb"><div class="h5"><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><br clear="all"><br>-- <br><a href="http://www.google.com/profiles/iricanaycan">http://www.google.com/profiles/iricanaycan</a>
</div>