merits of Lisp vs Python

Paul Rubin http
Sat Dec 9 20:57:41 EST 2006


"Paddy" <paddy3118 at netscape.net> writes:
> Python can be used as a glue language. It is not solely a glue
> language.
> A lot of people find using Python to script libraries written in other
> languages
> a way to get things done. Ask the scipy guys or the biopython guys.

Sure, connecting together programs and libraries that were written in other
languages is what a glue language is.  

> You don't always wrap a module in Python for reasons of speed of
> execution.
> 
> Software testing may well be easier to do in Python than in the
> native language of the wrapped library. ...

That's the thing, those modules are written in languages other than
Python because Python is not attractive for coding those functions
directly in Python.  That is a real weakness of Python and glossing
over it by saying to write the functions in other languages and then
wrap them in the C API is not a very impressive answer.  For example,
Lisp is routinely used for writing scientific and numerical code
directly with performance comparable to C or whatever.  There is no
need to mess with wrapping modules written in other languages, an
operation which should not be trivialized.



More information about the Python-list mailing list