Pyjion
graalpython
Our great sponsors
Pyjion | graalpython | |
---|---|---|
4 | 13 | |
1,439 | 1,103 | |
- | 2.2% | |
4.0 | 10.0 | |
over 3 years ago | 7 days ago | |
C++ | Python | |
- | GNU General Public License v3.0 or later |
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.
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.
graalpython
-
socketify.py - Bringing WebSockets, Http/Https High Peformance servers for PyPy3 and Python3
HPy integration to better support CPython, PyPy and GraalPython
-
Oracle Contributing GraalVM Community Edition Java Code to OpenJDK
Here are some nice examples: https://www.graalvm.org/22.2/reference-manual/python/Interop...
This may be more readable: https://github.com/oracle/graalpython/blob/master/docs/user/...
-
Pyjion – A Python JIT Compiler
Isn't this what the GraalVM [1] guys are also trying to do? Seems like today the competition is between who is more polyglot than the other, JVM, CLR or WASM.
- Python stands to lose its GIL, and gain a lot of speed
- A viable solution for Python concurrency
- RustPython: A Python interpreter written in Rust
-
Stack Overflow Developer Survey 2021: "Rust reigns supreme as most loved. Python and Typescript are the languages developers want to work with most if they aren’t already doing so."
Graalpython is slowly taking shape, although it's still very alpha: https://github.com/oracle/graalpython
- Launch HN: Enso (YC S21) – Visual programming and workflow tool for data science
-
AST based scripting languages
https://github.com/oracle/graalpython is an AST interpreter for Python
-
Pyston v2.2: faster and open source
I'd say graal is even less mature than Pyston. See https://github.com/oracle/graalpython/tree/master/docs/user
> At this point, the Python runtime is made available for experimentation and curious end-users.
What are some alternatives?
PyPy
Cython - The most widely used Python to C compiler
Pyston - A faster and highly-compatible implementation of the Python programming language.
Stackless Python
truffleruby - A high performance implementation of the Ruby programming language, built on GraalVM.
PeachPy - x86-64 assembler embedded in Python
pypy - The unofficial GitHub mirror of PyPy (mirrored via https://github.com/mozillazg/job-mirror-hg-repos)
jython - Python for the Java Platform
cinder - Cinder is Meta's internal performance-oriented production version of CPython.
Pyjion - Pyjion - A JIT for Python based upon CoreCLR