tinyknn
Pyjion
tinyknn | Pyjion | |
---|---|---|
1 | 4 | |
12 | 1,439 | |
- | - | |
6.6 | 4.0 | |
about 1 year ago | over 3 years ago | |
Python | C++ | |
GNU Affero General Public License v3.0 | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
tinyknn
-
Pyston v2.2: faster and open source
With Cython you can get C level performance. The cost is that your Python code has to be written just as you would write C.
See e.g. https://github.com/thomasahle/fast_pq/blob/main/_fast_pq.pyx... for how much fast Cython code can look like C.
Pyjion
-
Pyjion, a drop-in JIT compiler for Python 3.10 is now v1.0
Looks like it was started at Microsoft, the tonybaloney/Pyjion was forked from microsoft/Pyjion.
-
Why Python 4.0 might never arrive, according to its creator
Pyjion is a Microsoft project that adds a JIT leveraging CoreCLR.
-
Pyston v2.2: faster and open source
https://github.com/microsoft/Pyjion was a really nice attempt to marry CPython with JIT in a rather generic way, but it was abandoned quickly.
-
Cinder: Instagram's performance oriented fork of CPython
There are articles like https://instagram-engineering.com/dismissing-python-garbage-... which seem to confirm some problems. One of the people involved with this Cinder project was an original author of https://github.com/microsoft/Pyjion (it's now being revamped by a new dev.) Dino had deep .NET/CLR implementation experience and had been the lead for IronPython which I think spawned the interest in perf improvements through Cinder. I hope this effort is more successful for him.
What are some alternatives?
hpy - HPy: a better API for Python
PyPy
Nuitka - Nuitka is a Python compiler written in Python. It's fully compatible with Python 2.6, 2.7, 3.4, 3.5, 3.6, 3.7, 3.8, 3.9, 3.10, and 3.11. You feed it your Python app, it does a lot of clever things, and spits out an executable or extension module.
Cython - The most widely used Python to C compiler
Pyston - A faster and highly-compatible implementation of the Python programming language.
Pyjion - Pyjion - A JIT for Python based upon CoreCLR
Stackless Python
PeachPy - x86-64 assembler embedded in Python
pypy - The unofficial GitHub mirror of PyPy (mirrored via https://github.com/mozillazg/job-mirror-hg-repos)
cinder - Cinder is Meta's internal performance-oriented production version of CPython.
pipx - Install and Run Python Applications in Isolated Environments