hematita
RustPython
hematita | RustPython | |
---|---|---|
3 | 96 | |
187 | 17,649 | |
- | 1.3% | |
0.0 | 9.6 | |
over 1 year ago | 3 days ago | |
Rust | Rust | |
GNU General Public License v3.0 only | MIT License |
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.
hematita
-
Which scripting languages work well embedded with Rust?
lua and rust works well. With both the rlua and mlua bindings. There is also a lua vm written in rust: https://github.com/danii/hematita though it is rather early for that.
-
What scripting language and what implementation would you use with your program written in Rust?
Rust has some good bindings with lua, for example mlua and rlua. There is also a rewrite of lua in 100% safe rust called hematita ( https://github.com/danii/hematita )
-
hematita - A Memory Safe Lua Interpreter In Rust
Side note: I'm aware `cargo install hematita_cli` doesn't work, for now you'll have to run `cargo install --git 'https://github.com/danii/hematita.git' hematita_cli`. I've refrained from publishing the CLI crate because I remembered I could just include the CLI in the main crate, so I'm giving myself time to choose whether or not I should.
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
What are some alternatives?
Lua - Lua is a powerful, efficient, lightweight, embeddable scripting language. It supports procedural programming, object-oriented programming, functional programming, data-driven programming, and data description.
CPython - The Python programming language
crates.io - The Rust package registry
pyodide - Pyodide is a Python distribution for the browser and Node.js based on WebAssembly
goscript - An alternative implementation of Golang specs, written in Rust for embedding or wrapping.
tauri - Build smaller, faster, and more secure desktop applications with a web frontend.
lokke - Lokke: Clojure for Guile
rust-numpy - PyO3-based Rust bindings of the NumPy C-API
Rhai - Rhai - An embedded scripting language for Rust.
PyO3 - Rust bindings for the Python interpreter
capability-providers - wasmCloud official capability providers