compiling maxima code vs native lisp code



If your code does a great deal of complex double float
arithmetic, you should be able to gain a great deal of
speed by coding in CL instead of Maxima. Outside of this
consideration, it's not so easy to say. With CL, you get
a more comfortable programming environment (better tools
for editing, lexical scope instead of dynamic, ...). Also,
compiled CL should handle recursively defined functions
more efficiently than Maxima (if you are careful about it). 
But to program effectively in CL, you may have to learn
quite a bit about the Maxima source code.  The only way
to do that, is to read the source. The Maxima source is
poorly commented, and it is often difficult to understand.

maxima-bounces at math.utexas.edu wrote on 04/15/2007 02:01:00 PM:

> Hello,
>   I am seeking an opinion in regard to developing software for maxima
>   for the purpose of execution speed.
> 
> Is it better to develop code in maxima, and then compile it, via
> compile_file, or to simply write the lisp code itself and load it at run
> time?
> 
> TIA,
>   -sen
> 
> 
> 
---------------------------------------------------------------------------
>   | Sheldon E. Newhouse            |    e-mail: sen1 at math.msu.edu    |
>   | Mathematics Department         |                      |
>   | Michigan State University      | telephone: 517-355-9684    |
>   | E. Lansing, MI 48824-1027 USA  |       FAX: 517-432-1562    |
> 
---------------------------------------------------------------------------
> _______________________________________________
> Maxima mailing list
> Maxima at math.utexas.edu
> http://www.math.utexas.edu/mailman/listinfo/maxima