How to use Maxima from within C++ program (CGI)?



Hi,

since it gets rather polemic (and non-sensical), I can't resist
to comment:

On Thu, Aug 09, 2007 at 08:18:59AM -0700, Richard Fateman wrote:
> I was thinking of this...
> 
> http://allegroserve.sourceforge.net/
> 
>  
> 
> > -----Original Message-----
> > From: maxima-bounces at math.utexas.edu 
> > [mailto:maxima-bounces at math.utexas.edu] On Behalf Of 
> > Konovalov, Vadim Vladimirovich (Vadim)** CTR **
> > Sent: Thursday, August 09, 2007 5:57 AM
> > To: Yigal Asnis; Maxima at math.utexas.edu
> > Subject: Re: [Maxima] How to use Maxima from within C++ program (CGI)?
> > 
> > 
> > > GiNaC library have a parser so I can easy transform
> > > strings to expressions and vice versa in C++.
> > 
> > you do not realize that this way you'll spend much more programming
> > efforts and time
> > C++ programmers have low productivity due to too low level 
> > programming.
> > 

rather funny to consider Lisp a "high-level" language: It's a hacker's language!
No abstraction, just for smaller programs (with small teams).

> > Programmers are often too conservative: someone somehow convinced them
> > that C++ (or java) is the best and they will never even try 
> > looking into
> > lisp, or perl, or whatever.
> > 

The question is about untyped versus typed programming languages:
Trivially untyped programming languages (i.e., hacker languages) are easier
for small jobs, but don't scale.

C++ (especially modern C++) is in many respects quite more high-level
than Lisp (but it *also* offers access to the low-level details, this
makes it unique --- there is no other programming language comparable
to C++).

>From my experience, Lisp and related systems are nice for prototyping
(but not more).
Now I started exploring Aldor when really linking to C++; yet no
experiences, but it looks much more appropriate (and it also offers
access to Axiom).

This is what in our group we are currently exploring: Using Lisp and Maxima
for the first prototype (the quick hack), then Aldor for the next level,
and finally C++ for the full level (if it links, then to the Aldor/Axiom
level).

Looks promising --- but we just started.

Oliver

> > 
> > > The question about Lisp is wether is possible to make
> > > CGI with it? In C++ I have cgicc library that is doing
> > > all the dirty work.
> > 
> > may be quick link at http://www.cliki.net/lisp-cgi-utils will help?
> > 
> > Best regards,
> > Vadim.
> > 
> > _______________________________________________