[Baypiggies] Eric Raymond likes Python
Stephen McInerney
spmcinerney at hotmail.com
Tue Sep 8 22:40:22 CEST 2009
A fairer comparison might be comparing OCaml to Psycho.
Also, can Python do things that OCaml can't?
Date: Tue, 8 Sep 2009 13:30:27 -0700
Subject: Re: [Baypiggies] Eric Raymond likes Python
From: alecf at flett.org
To: spmcinerney at hotmail.com
CC: wescpy at gmail.com; baypiggies at python.org
Python performance sucks. Any single implentation of OCaml works much faster than any implentation of Python.
[anyone got any contemporary numbers?]
This is still true because OCaml (or any decent ML-oriented language implementation) is still on par with C for raw CPU-bound performance (in fact some OCaml code can be optimized much more than the transliterated C equivalent - i.e. you can often rely on the OCaml optimizer to speed up some abstractions/patterns more than you can rely on the C compiler optimizer for the same implementation pattern)
It's going to be hard to beat that with a dynamic language, but the unladen swallow folks should be improving this situation by at least producing faster code for particular abstractions/patterns...
But of course it's always a question of whether you're CPU bound or not!
Alec
_________________________________________________________________
Hotmail® is up to 70% faster. Now good news travels really fast.
http://windowslive.com/online/hotmail?ocid=PID23391::T:WLMTAGL:ON:WL:en-US:WM_HYGN_faster:082009
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/baypiggies/attachments/20090908/8f3e5ad6/attachment.htm>
More information about the Baypiggies
mailing list