Are there any efforts to make MAXIMA interaction with java?
Subject: Are there any efforts to make MAXIMA interaction with java?
From: Robert Dodier
Date: Sun, 31 Dec 2006 18:02:29 -0700
On 12/27/06, Andrey Siver <ihep-2005 at yandex.ru> wrote:
> I have a question: were there any efforts to make MAXIMA interaction with java?
I believe the best way to make this happen is for someone to write
a Java bytecode generator for Clisp. If I'm not mistaken that is an
item on the Clisp wish list. Clisp generates bytecodes for its own
interpreter so generating Java bytecodes seems like not too much
of a stretch ....
It would also be possible to implement CL in Java, but I don't see
the point of reinventing that wheel when Clisp is already a
100% conforming implementation. For the record, there is a
project called ABCL which is CL implemented in Java. I recompiled
Maxima with ABCL and the result fails the Maxima testsuite
and it is extremely slow (much slower than even Clisp).
The ABCL project is unfinished and appears to be dormant,
so as it stands I don't think there's much hope of using it to run Maxima.
A related idea is CL which compiles to .Net bytecodes, either via
a Clisp code generator or an implementation in C# or whatever.
Someone created a Lisp language for .Net, but it's not CL.
Too bad about that, really. I forget what it's called.
> And is there any success to make MAXIMA interaction with C/C++?
Probably the best way to achieve that is to complete the GCL version
of CFFI -- it is reported to work already for Clisp, SBCL, and CMUCL.
I don't know if anyone is working on CFFI + GCL at the moment;
you would have to check in with the CFFI project.
Hope this helps, & happy new year,
Robert Dodier