[Cython] Yet another Python to C compiler

Vitja Makarov vitja.makarov at gmail.com
Fri Aug 12 09:44:46 CEST 2011


2011/8/12 Vitja Makarov <vitja.makarov at gmail.com>:
> Hi!
>
> Recently I've found one more Python to C compiler, that translates
> python bytecode into C source.
> And author says about 100% Python compatibility. The project is a
> signle 800KB python file.
>
> http://code.google.com/p/2c-python/
>
> I was wondering when found that 2c beats Cython in some benchmarks.
> For instance, it's about 2 times faster than Cython in pystone test
> (pure python mode).
>
> Think we should investigate performance differences and make cython faster.
>

Performance boost is because of --direct-call flag.
With --no-direct-call flag performance is about the same.

-- 
vitja.


More information about the cython-devel mailing list