Re: [Caml-list] web server interface for Ocaml ( like rack, wsgi, ...)?

2010-09-16 Thread Vincent Balat
> Running Eliom over OCamlNet lets it integrate a bit more closely with a > third-party web server via FastCGI. Standard functions such as absolute > URL construction and SSL checking that depend on the host, port, and > connection type have a knack for breaking when run behind a reverse > proxy.

Re: [Caml-list] web server interface for Ocaml ( like rack, wsgi, ...)?

2010-09-16 Thread Michael Ekstrand
On Thu, 2010-09-16 at 15:04 -0700, Dario Teixeira wrote: > Could you expand on the reasoning a little? I mean, what is for you > the advantage of running Eliom over Ocamlnet as opposed to over the > Ocsigen server? Running Eliom over OCamlNet lets it integrate a bit more closely with a third-part

Re: [Caml-list] web server interface for Ocaml ( like rack, wsgi, ...)?

2010-09-16 Thread Dario Teixeira
Hi, > My dream is *really* Eliom over Ocamlnet. Could you expand on the reasoning a little? I mean, what is for you the advantage of running Eliom over Ocamlnet as opposed to over the Ocsigen server? Cheers, Dario Teixeira ___ Caml-list mailing l

Re: [Caml-list] web server interface for Ocaml ( like rack, wsgi, ...)?

2010-09-16 Thread Paolo Donadeo
> It would be nice to have something like this; the existing web > frameworks (e.g. Ocamlnet and Ocsigen as another poster mentioned) > implement the whole stack, but it would be nice to be able to mix > and match (e.g. run Ocsigen's Eliom applications in Ocamlnet's > Netplex server). Ah! So I'm n

Re: [Caml-list] web server interface for Ocaml ( like rack, wsgi, ...)?

2010-09-16 Thread Jake Donham
On Thu, Sep 16, 2010 at 4:05 AM, ben kuin wrote: > Is there a web server interface / adapter for ocaml that abstracts > your application from the various web server implementations? There is no OCaml equivalent to rack / wsgi. It would be nice to have something like this; the existing web framewo

Re: [Caml-list] web server interface for Ocaml ( like rack, wsgi, ...)?

2010-09-16 Thread Michael Ekstrand
On Thu, 2010-09-16 at 13:05 +0200, ben kuin wrote: > Is there a web server interface / adapter for ocaml that abstracts > your application from the various web server implementations? > What is your prefered way to write a small web app for example a to-do list? There are two good options: *

Re: [Caml-list] Compiling Ocaml sources to c sources

2010-09-16 Thread Fabrice Le Fessant
You could use Boehm's garbage-collector for such a project, indeed, that's what is done in Bigloo, to compile Scheme programs to C. Since Boehm's GC is conservative, it would probably work well in such a system, with or without compiler optimizations, but the GC itself would probably be much slower

[Caml-list] web server interface for Ocaml ( like rack, wsgi, ...)?

2010-09-16 Thread ben kuin
hi Is there a web server interface / adapter for ocaml that abstracts your application from the various web server implementations? What is your prefered way to write a small web app for example a to-do list? thanks ben ___ Caml-list mailing list. Subscr

Re: [Caml-list] Compiling Ocaml sources to c sources

2010-09-16 Thread Eray Ozkural
Yes, I've seen how wired the GC is in the ocaml sources. I had used the Boehm GC in a compiler project (not for the generated code but the compiler), do you mean that one would have to disable most optimizations in the ocaml bytecode compiler to make such a hypothetical bytecode-to-C compiler work

Re: [Caml-list] Compiling Ocaml sources to c sources

2010-09-16 Thread Fabrice Le Fessant
The problem is still the same: even if the code is compiled by a C compiler, there is still the need for the garbage collector. If you don't provide your own conservative GC (for which you would have to reimplement all the native functions of OCaml), then you need to use OCaml GC, and you would hav