Mario Storti wrote:
> 
> I have seen that CMUCL has an alien package that
> does it. However I have read elsewhere in the
> documentation that the heap size for alien
> variables is bounded to 8MB. Also, I read that
> it's not easy to call Lisp code from C.

Oops.  If "heap" means the C heap, then this is no longer true.  It's 
about 256 MB.  If that is too limited, you'll need to build your own 
version of CMUCL to allow a larger C heap.

Alternatively, the User's manual has an example of how to pass Lisp 
arrays to C functions.  This allows you to access the full Lisp heap (>= 
1.5 GB or so).  But this isn't really a scripting app anymore.

CVS versions (and soon-to-be-released-someday version 19a) will have 
support for calling Lisp from C.

> 
> [BTW: it seems that the link to CMUCL manual in 
> CMUCL home page http://www.cons.org/cmucl/doc/index.html
> is broken. It points to 
> http://cmucl.cons.org/ftp-area/cmucl/doc/cmu-user/
> The link to EncyCMUCLopedia is also broken.]

The machine hosting these is still down.

> 
> If you want you can pass the parallell
> distributed aspects and focus in writing a Lisp
> package for interfacing with a pre-existing C
> linear algebra library, like BLAS, LAPACK or
> PETSC. 

Matlisp has an interface to LAPACK.  I believe Nicolas Neuss uses that 
for his own FEM package.

Ray


Reply via email to