<div dir="ltr">On Wed, Nov 13, 2013 at 3:18 PM, Ömer Sinan Ağacan <span dir="ltr"><<a href="mailto:omeragacan@gmail.com" target="_blank">omeragacan@gmail.com</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Anyone tried this same test on GHCJS?</blockquote><div> </div><div>I'm definitely interested in seeing the same, but for a recent version of GHCJS, too.</div>
<div><br></div><div>Personally, I think Fay is great, size- and API-wise for when what you're making is a "script." When you're making a big/real application, I prefer a more complete API, and I find that the initial payload size is negligible in these cases.</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
</div>2013/11/13 Aycan iRiCAN <<a href="mailto:iricanaycan@gmail.com">iricanaycan@gmail.com</a>>:<br>
<div class="HOEnZb"><div class="h5">> 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" target="_blank">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>
><br>
><br>
><br>
> On Wed, Nov 13, 2013 at 3:56 PM, Anton Nikishaev <<a href="mailto:me@lelf.lu">me@lelf.lu</a>> wrote:<br>
>><br>
>> Ö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>
>> 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>
>><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>><br>
>> >> wrote:<br>
>> >>><br>
>> >>> On Mon, Nov 11, 2013 at 1:32 PM, Ömer Sinan Ağacan<br>
>> >>> <<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<br>
>> >>> > 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>
>> >><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>
>> --<br>
>> lelf<br>
>><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>
><br>
><br>
><br>
><br>
> --<br>
> <a href="http://www.google.com/profiles/iricanaycan" target="_blank">http://www.google.com/profiles/iricanaycan</a><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>
><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></div>