FYI: Cython vs Pyrex

Alexander Belchenko bialix at ukr.net
Mon May 9 16:59:21 UTC 2011


09.05.2011 16:54, John Arbash Meinel пишет:
> On 5/9/2011 3:29 PM, Alexander Belchenko wrote:
>> 09.05.2011 13:49, INADA Naoki ?8H5B:
>>> I tried simple test on IPython.
>>>
>>> a = range(10000)
>>> %timeit _bencode_pyx.bencode(a)
>>>
>>> Cython: 2.5ms
>>> Pyrex: 3.04ms
>>>
>>> Now Bazaar uses Pyrex when both of Pyrex and Cython is installed.
>>> How about use Cython for default?
> 
>> As I remember, Cython generates the code which cannot be compiled with
>> MSVC, and windows installer seems to use MSVC to build extensions.
>> Maybe they fixed that, but I'm not sure somebody cares.
> 
> 
> I use MSVC and Cython, I haven't had problems with it. 

First versions of Cython have generated C99-only code that cannot be
compiled with MSVC. I'm glad it's fixed now.

> I *think* the EC2
> instance we use doesn't have pyrex installed, and we are already using
> Cython for the Windows installers.

Can we have bzr 2.4b2 installer, pretty please? I've asked Gary about
installer but have no response from him.



More information about the bazaar mailing list