3 ms·
Cython lets you incrementally add types to your python code and transpile to C. Its best feature is the html output that highlights which part of your code stil
by nurettin 4y ago
Cython lets you incrementally add types to your python code and transpile to C. Its best feature is the html output that highlights which part of your code still has an external dependency and is thus not directly translatable to C.
Numba has an amazing jit decorator. It can even build on numpy functions. Once I had a simple sum loop and it was compiled into O(1).
Pyston is very cool, it outputs C++ code that you can statically build into your project. Still needs libpython.
Pypy speeds up plain python code. It can even install from pip. I tried it on neat-python package, solid 40% improvement.
Nuitka is different. It is a packaging system which embeds the python interpreter and your code into a distributable binary.