RustPython
logic
Our great sponsors
RustPython | logic | |
---|---|---|
96 | 7 | |
17,604 | 82 | |
2.4% | - | |
9.6 | 8.9 | |
3 days ago | 29 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
-
Encapsulation in Rust and Python
Integrating Rust into Python, Edward Wright, 2021-04-12 Examples for making rustpython run actual python code Calling Rust from Python using PyO3 Writing Python inside your Rust code — Part 1, 2020-04-17 RustPython, RustPython Rust for Python developers: Using Rust to optimize your Python code PyO3 (Rust bindings for Python) Musing About Pythonic Design Patterns In Rust, Teddy Rendahl, 2023-07-14
- FLaNK Stack Weekly 12 February 2024
-
RustPython
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.
- Show HN: RustPython for BeOS with W2c2
-
Rust is replacing C as the Python back end
The title would be accurate if this project (https://rustpython.github.io/) was becoming the official version of Python.
- RustPython: An open source Python 3 interpreter written in Rust
-
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! :)
-
I made a FOSS arena-based battle AI website
Battle runner code: github.com/robot-rumble/logic/
-
Robot Rumble: a FOSS RobotGame-inspired arena-based AI competition site
The site is robotrumble.org/. My email is [[email protected]](mailto:[email protected]). 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!
-
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
battle-viewer - Battle-viewer is responsible for all of the dynamic frontend bits of the site
pyodide - Pyodide is a Python distribution for the browser and Node.js based on WebAssembly
inko - A language for building concurrent software with confidence
tauri - Build smaller, faster, and more secure desktop applications with a web frontend.
hpy - HPy: a better API for Python
rust-numpy - PyO3-based Rust bindings of the NumPy C-API
aichallenge - The source code that drives the AI Challenge
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