Is there any tool to convert a cython database back to pure python?

I would like to do a real test comparing cpython + cython performance with a pure pypy implementation.

I have a fairly large cython database (proprietary), with good test coverage and some criteria, what I would like to do is to test cython performance against pypy, but what I missed is a quick way to share the code.

  • Is there any tool for breaking type annotations and converting cython codebase to pure python?

  • Or is there some kind of parser extension in pypy to accept cython code, ignoring all type annotations? (or even use them ...)

  • Other options?

+6
source share

Source: https://habr.com/ru/post/983470/


All Articles