Return-Path: Delivered-To: apmail-httpd-modules-dev-archive@locus.apache.org Received: (qmail 55320 invoked from network); 5 Jan 2007 22:06:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Jan 2007 22:06:32 -0000 Received: (qmail 31731 invoked by uid 500); 5 Jan 2007 22:06:39 -0000 Delivered-To: apmail-httpd-modules-dev-archive@httpd.apache.org Received: (qmail 31530 invoked by uid 500); 5 Jan 2007 22:06:39 -0000 Mailing-List: contact modules-dev-help@httpd.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: modules-dev@httpd.apache.org Delivered-To: mailing list modules-dev@httpd.apache.org Received: (qmail 31521 invoked by uid 99); 5 Jan 2007 22:06:39 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Jan 2007 14:06:39 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of mcqueenorama@gmail.com designates 66.249.92.175 as permitted sender) Received: from [66.249.92.175] (HELO ug-out-1314.google.com) (66.249.92.175) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Jan 2007 14:06:29 -0800 Received: by ug-out-1314.google.com with SMTP id 75so7467288ugb for ; Fri, 05 Jan 2007 14:06:08 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=MqlaWNRZBXctCJBB8PCgUSjBDfVWXfL39lFWTxtG0s2kyDvj8TwnCVuhDv+b07aJRJTUA74vJ9GTFmRO97V9l3vX8TbX/bOq0daBLYDxWPMq7Mz3vt6np6BDxHPDRVlxOi01rIrH4WARRkd0df7KpImAL2+0nhlLVUbTQGA1Rgw= Received: by 10.66.232.11 with SMTP id e11mr31723833ugh.1168034768725; Fri, 05 Jan 2007 14:06:08 -0800 (PST) Received: by 10.67.101.12 with HTTP; Fri, 5 Jan 2007 14:06:08 -0800 (PST) Message-ID: <5b3fa8f0701051406x9ebd1e5ja467cd8e71f85e2c@mail.gmail.com> Date: Fri, 5 Jan 2007 14:06:08 -0800 From: "Brian McQueen" To: modules-dev@httpd.apache.org Subject: Re: Other languages than C In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <1168031144.4267.6.camel@test.asus> X-Virus-Checked: Checked by ClamAV on apache.org 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 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_. > > > > Any hints are appreciated. > > Joachim > > > > > >