tinyknn
graalpython
tinyknn | graalpython | |
---|---|---|
1 | 13 | |
12 | 1,122 | |
- | 2.4% | |
6.6 | 10.0 | |
about 1 year ago | 12 days ago | |
Python | Python | |
GNU Affero General Public License v3.0 | 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.
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.
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.
[1] https://github.com/oracle/graalpython
- Python stands to lose its GIL, and gain a lot of speed
- GitHub - oracle/graalpython: A Python 3 implementation built on GraalVM
- 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
What are some alternatives?
Pyjion
truffleruby - A high performance implementation of the Ruby programming language, built on GraalVM.
hpy - HPy: a better API for Python
jython - Python for the Java Platform
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
cinder - Cinder is Meta's internal performance-oriented production version of CPython.
RustPython - A Python Interpreter written in Rust