Subject: Re: Lisp for Linux 2.4?
From: rpw3@rpw3.org (Rob Warnock)
Date: Sun, 22 Apr 2007 20:46:08 -0500
Newsgroups: comp.lang.lisp
Message-ID: <Pvidnec9PJV9krHbnZ2dnUVZ_oupnZ2d@speakeasy.net>
<jimbokun@gmail.com> wrote:
+---------------
| ... I'd like to run the same code on a Linux server I have access to.
| But because it is kernel version 2.4, the current SBCL binary doesn't
| run because it lacks the proper threading support (yes, I see that the
| NPTL is included in some 2.4 distributions, but no this server).
| 
| I guess I could recompile without threads.  But I would much rather be
| lazy and get a pre-built Common Lisp binary that will just run on my
| server.  ... suggestions?
+---------------

Any recent binary distribution of CMUCL should run
on either Linux 2.4.x or 2.6.x. I'm currently running
CMUCL-19a(pre3) on Linux 2.4.21, and CMUCL-19c on all
of Linux 2.4.21, 2.6.7, 2.6.19, and 2.6.20.

CMUCL has only "green" threads (single-process coroutines),
but they're well-integrated with streams and the OS's "select()"
function [e.g., a "blocking" read automatically deschedules
the current thread until input data is ready and runs something
else in the mean time], and can be used for running multiple
simultaneous web requests quite handily. I run (or co-admin)
several web servers that use CMUCL as a persistent server
behind Apache (in a variant of "mod_lisp" style). It works
well (at least for the modest loads we serve).


-Rob

-----
Rob Warnock			<rpw3@rpw3.org>
627 26th Avenue			<URL:http://rpw3.org/>
San Mateo, CA 94403		(650)572-2607