Is a "real" C-Python possible?

Bruno Desthuilliers bdesth.quelquechose at free.quelquepart.fr
Mon Dec 10 17:54:36 EST 2007


sturlamolden a écrit :
> On 9 Des, 23:34, Christian Heimes <li... at cheimes.de> wrote:
> 
> 
>>Nevertheless it is just one algorithm that beats Python in an area that
>>is well known to be slow. Python's numbers are several factors slower
>>than C code because the overhead of the dynamic language throws lots of
>>data out of the cache line. If you need fast and highly optimized int
>>and floating point operations you can rewrite the algorithm in C and
>>create a Python interface for it.
> 
> 
> Lisp is a dynamically typed language. CMUCL can compete with Fortran
> for numerical work. SBCL can compete with the Java server VM. If the
> current CPython VM throws data out of the cache line, then  it must be
> a design flaw in the VM.

Or a lack of time and money. Lisp is one of the older programming 
languages around, and at a time had BigBucks(tm) invested on it to try 
and make it practically usable.



More information about the Python-list mailing list