[Haskell-cafe] off-topic question: why invent new Haskell-like compile-to-js functional languages when we have awesome js_of_ocaml ?

Anton Nikishaev me at lelf.lu
Wed Nov 13 13:56:02 UTC 2013


Ömer Sinan Ağacan <omeragacan at gmail.com> writes:

> That's great news. I wonder if that means it'll be end for Fay and
> similar languages?

GHCJS's Hello World is 2.1M worth of javascript (well, that's how it was
several month ago, maybe it's better now?). And even google closure
compiled with advanced optimizations it's ~500K.

Fay's output is 5K after google-closure-mumbo-jumbo.



> 2013/11/12 Patrick Mylund Nielsen <haskell at patrickmylund.com>:
>> On Tue, Nov 12, 2013 at 12:24 PM, Jeremy Shaw <jeremy at n-heptane.com> wrote:
>>>
>>> On Mon, Nov 11, 2013 at 1:32 PM, Ömer Sinan Ağacan <omeragacan at gmail.com>
>>> wrote:
>>> > I'm aware of this, but when I first tried it a few months ago, it was
>>> > not easy to use at all. Is it changed now?
>>>
>>> Last I heard, Luite was waiting for GHC 7.8 to be released because it
>>> contains changes that will allow him to upload ghcjs to hackage and
>>> then you will be able to just cabal install it. I could be wrong
>>> though.
>>
>>
>> As far as I know, that's correct.
>>
>> The easiest way to install and use it right now is using their Vagrant
>> setup:
>> http://www.reddit.com/r/haskell/comments/1fvv5q/ghcjs_introduction_concurrent_haskell_in_the/caeifun

-- 
lelf




More information about the Haskell-Cafe mailing list