Re: Python versus Perl ?
beliavsky@aol.c om schrieb:[color=blue]
> His survey of programming languages in "The Art of Unix Programming",
> available at
> http://www.catb.org/~esr/writings/ta...eschapter.html , is
> interesting (and biased). Raymond evaluates C, C++, Shell, Perl, Tcl,
> Python, Java, and Emacs Lisp.[/color]
One part of this survey strikes me:
esr> In fact it's generally thought to be the least efficient and
esr> slowest of the major scripting languages, a price it [Python]
esr> pays for runtime type polymorphism.
If I assume Perl, Python, Ruby, Tcl and PHP to be major scripting
languages some benchmarks (http://dada.perl.it/shootout and
http://shootout.alioth.debian.org) show that Python is probably the
fastest among these (Perl is 25% faster at regex matching).
--
-------------------------------------------------------------------
Peter Maas, M+R Infosysteme, D-52070 Aachen, Tel +49-241-93878-0
E-mail 'cGV0ZXIubWFhc0 BtcGx1c3IuZGU=\ n'.decode('base 64')
-------------------------------------------------------------------
beliavsky@aol.c om schrieb:[color=blue]
> His survey of programming languages in "The Art of Unix Programming",
> available at
> http://www.catb.org/~esr/writings/ta...eschapter.html , is
> interesting (and biased). Raymond evaluates C, C++, Shell, Perl, Tcl,
> Python, Java, and Emacs Lisp.[/color]
One part of this survey strikes me:
esr> In fact it's generally thought to be the least efficient and
esr> slowest of the major scripting languages, a price it [Python]
esr> pays for runtime type polymorphism.
If I assume Perl, Python, Ruby, Tcl and PHP to be major scripting
languages some benchmarks (http://dada.perl.it/shootout and
http://shootout.alioth.debian.org) show that Python is probably the
fastest among these (Perl is 25% faster at regex matching).
--
-------------------------------------------------------------------
Peter Maas, M+R Infosysteme, D-52070 Aachen, Tel +49-241-93878-0
E-mail 'cGV0ZXIubWFhc0 BtcGx1c3IuZGU=\ n'.decode('base 64')
-------------------------------------------------------------------
Comment