RustPython
logic
Our great sponsors
RustPython | logic | |
---|---|---|
94 | 7 | |
17,393 | 78 | |
7.1% | - | |
9.6 | 8.9 | |
6 days ago | 4 days ago | |
Rust | Rust | |
MIT License | GNU General Public License v3.0 only |
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.
RustPython
- FLaNK Stack Weekly 12 February 2024
-
RustPython
Contribution graph seems pretty good https://github.com/RustPython/RustPython/graphs/contributors
No.
…and this one is no exception -> https://github.com/RustPython/RustPython/issues/1940
Packages that rely on c dependencies like numpy, etc. only work if you write a custom implementation by hand; the “normal” package flat out doesn’t (and cannot) work.
I first read about RustPython today and found this discussion that seems very interesting and still pertinent to the topic. Here's my take on it:
-
Rewrite Sympy in rust
If you absolutely need something comparable to Sympy, then one option might be to figure out how to best call Sympy from Rust. e.g. - RustPython, although it seems like Sympy isn't supported yet - Pyodide, and figuring out how to run it outside of a web browser. Probably also not very easy. - PyPy, and having a pretty simple Python binary for every platform - ...
-
Our Plan for Python 3.13
I'm actually rooting for RustPython to reach a level of maturity that we'd just be able to ship apis and stuff with it.... https://github.com/RustPython/RustPython
-
Python 11
Good question and it also actual for: python 3.12, RustPython and xonsh binary.
-
This Week In Python
RustPython – A Python Interpreter written in Rust
logic
-
The Rust I wanted had no future
I've just been browsing, eg., https://github.com/robot-rumble/logic/blob/master/lang-runne...
Have a look at real-world rust repos that are more than simple application code.
Personally, I feel like I'm being visually assaulted.
-
[Showoff Saturday] I finally finished a 2-year-in-the-making arena-style AI competition platform! 😊 Uses Elm, Scala, Rust, and WASM
Any and all feedback is much appreciated! Every bit of our code is in our Github org. This repo has our robot execution code. If you have any thoughts on the site, the code, or you want to contribute in any other way, please reach out! Thank you! :)
-
My first project to see production! Robot Rumble, an arena-style AI battle game for teams of Python-based robots
The data model is actually lives inside of our logic runner, which is in Rust, and yes the model is re-implemented in Elm as well. This logic layer simulates the battles and executes user code. Python comes in as being one of the two interpreters that the logic layer uses to execute arbitrary user (Python) code, using a Rust-based Python interpreter called RustPython. We've got a bit more details in our README here.
- Robot Rumble - an arena-style AI battle game implemented using Rust and WebAssembly
-
RustPython/RustPython A Python-3 (CPython >= 3.8.0) Interpreter written in Rust
I consider wasm/wasi support to be the main selling point of RustPython at the moment; I'm working on a project with a friend that utilizes wasm/RustPython for sandboxing user code written in Python and JavaScript (https://robotrumble.org, https://github.com/robot-rumble/logic)
What are some alternatives?
CPython - The Python programming language
pyodide - Pyodide is a Python distribution for the browser and Node.js based on WebAssembly
tauri - Build smaller, faster, and more secure desktop applications with a web frontend.
rust-numpy - PyO3-based Rust bindings of the NumPy C-API
PyO3 - Rust bindings for the Python interpreter
Rhai - Rhai - An embedded scripting language for Rust.
helix - A post-modern modal text editor.
Cython - The most widely used Python to C compiler
boa - Boa is an embeddable and experimental Javascript engine written in Rust. Currently, it has support for some of the language.
rune - An embeddable dynamic programming language for Rust.
jython3 - A sandboxed attempt at v3 (not maintained)
circuitpython - CircuitPython - a Python implementation for teaching coding with microcontrollers