[web-devel] On the state of Haskell web frameworks

Marc Weber marco-oweber at gmx.de
Mon Sep 20 04:50:10 CEST 2010


Excerpts from Nils Schweinsberg's message of Sun Sep 19 18:50:39 +0200 2010:
> By the way, did anyone use javascript on their websites? I wonder if 
> there are any nice ways to combine those two worlds?

Haskell:

- http://github.com/sviperll/ghcjs (There is work in progress):
  JS backend for GHC. You have to find a way to compile the base
  packages. It was originally written for ghc-6.8.2

- YHC (york haskell compiler) has a JS backend

- of course those DSL's you can find on hackage


My guess is that Haskells laziness adds both: a runtime penalty and a
code size penalty. I don't have proofs for that.

But be aware that there is some competition (non Haskell):

- http://www.impredicative.com/ur/
  has some features of WASH. The urls have nicer names though.

- http://www.itu.dk/people/mael/smltojs/ (ml to js)

[ - HaXe.org (not such a strong type system - but it you can even create
   .swf files!) ]

Marc Weber


More information about the web-devel mailing list