httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brian McQueen" <mcqueenor...@gmail.com>
Subject Re: Other languages than C
Date Fri, 05 Jan 2007 22:06:08 GMT
I want to see one in haskell - just because I like haskell, not
because its a good idea.


On 1/5/07, John David Duncan <jdd@mysql.com> wrote:
> Hi,
>
> The requirements you state here are rather tough.
>
> It is not terribly difficult to write an Apache module in C++.  The key
> data structures need to be declared with external "C" linkage, and the
> Apache API relies heavily on void pointers, for which the C++ compiler
> requires casts.  Of course C++ was designed to be compatible with C
> from the point of view of the linker and the ABI; I cannot think of
> any functional languages (like R for statistics) that have such a
> C-compatible design.
>
> The most powerful non-C interface into Apache is mod_perl.  Perl code is
> interpreted to byte code and can run inside the web server at near-
> native
> speed, mod_perl exposes Apache's complete C API, and yet Perl is also a
> very flexible high-level language that invites many different
> programming
> styles.
>
>
> JD
>
>
>
> On Jan 5, 2007, at 1:05 PM, Joachim Zobel wrote:
>
> > Hi.
> >
> > Are there any compiled (preferrably functional) languages that be used
> > to write apache modules? Such a language should be sufficiently
> > efficient and it should not require a mod_<language>.
> >
> > Any hints are appreciated.
> > Joachim
> >
> >
>
>

Mime
View raw message