Whilst I Agree with you about Apache being widely useful, most websites
fall into the category database backend, dynamic content in the middle
and HTTP infront. Apache is a waste of disc space and memory, if all you
want is Haskell Servlets (Think Java Servlets and Tomcat - a large
number of ma
ons 2003-06-11 klockan 20.56 skrev Martin Sjögren:
> ons 2003-06-11 klockan 20.04 skrev Koen Claessen:
> > | Ghci and Template Haskell show that it is possible to
> > | compile and load a module into a running program. Is
> > | there a user interface to do that? Would one be
> > | possible?
Keean writes:
> http://losser.st-lab.cs.uu.nl/mod_haskell/
Interesting!
> But, think of the advantages of a type-safe web-server, utilising GHC's
> light weight threads...
Well, yes, but the problem is that web server today must provide tons
of things to be suitable for production use
ons 2003-06-11 klockan 20.04 skrev Koen Claessen:
> | Ghci and Template Haskell show that it is possible to
> | compile and load a module into a running program. Is
> | there a user interface to do that? Would one be
> | possible? Would that make a Haskell analog of Yaws
> | (yaws.hyber.org
| Ghci and Template Haskell show that it is possible to
| compile and load a module into a running program. Is
| there a user interface to do that? Would one be
| possible? Would that make a Haskell analog of Yaws
| (yaws.hyber.org) possible?
|
| For those who don't know Yaws: It is a we
ailto:[EMAIL PROTECTED] Behalf Of Peter
Simons
Sent: 11 June 2003 18:01
To: [EMAIL PROTECTED]
Subject: Re: Dynamic Compilation
Carsten Schultz writes:
> a web server written in Erlang that can compile [...] code embedded
> in HTML files to produce dynamic pages
IMHO it should be possib
Carsten Schultz writes:
> a web server written in Erlang that can compile [...] code embedded
> in HTML files to produce dynamic pages
IMHO it should be possible to add a "mod_runhugs" module to Apache,
which implements exactly that except that it doesn't require any
compilation of code at all.
We are using a web server written in Haskell in a production
environment... It only serves dynamic pages - it is
a bit like Tomcat for Haskell... It uses the ghci linker interface to
load object files... but does not compile automatically.
I think it sould be possible to embed ghc into an applica