Re: Dynamic Compilation

2003-06-12 Thread Keean Schupke
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

Re: Dynamic Compilation

2003-06-12 Thread Martin Sjögren
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?

Re: Dynamic Compilation

2003-06-11 Thread Peter Simons
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

Re: Dynamic Compilation

2003-06-11 Thread 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? Would that make a Haskell analog of Yaws > | (yaws.hyber.org

Re: Dynamic Compilation

2003-06-11 Thread 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) possible? | | For those who don't know Yaws: It is a we

RE: Dynamic Compilation

2003-06-11 Thread Keean
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

Re: Dynamic Compilation

2003-06-11 Thread Peter Simons
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.

Re: Dynamic Compilation

2003-06-11 Thread Keean Schupke
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