[Cython] Rewriting/compiling parts of CPython's stdlib in Cython

Vitja Makarov vitja.makarov at gmail.com
Tue Mar 22 07:57:15 CET 2011


2011/3/22 Stefan Behnel <stefan_ml at behnel.de>:
> Stefan Behnel, 22.03.2011 07:10:
>>
>> there seems to be quite some interest in a project to get parts of CPython
>> and specifically its stdlib rewritten in Cython.
>> [...] I gave it a try with difflib and it turned out to be quite easy.
>>
>> http://blog.behnel.de/index.php?p=155
>
> BTW, given how short that patch is, wouldn't that make a nice little
> presentation for the Open Cython Day? Show off how to quickly optimise a
> stdlib module with Cython?
>

That should be nice ;) Greate step forward for cython and python.

Btw I think that stdlib module cython optimization should be as simple
as writting .pxd file with minimal .py or none modifications
As in difflib

Also it would be good to have:
 - performance comparison/monitoring infrastructure
 - more tests on stdlib

-- 
vitja.


More information about the cython-devel mailing list