RustPython
mun
Our great sponsors
RustPython | mun | |
---|---|---|
96 | 26 | |
17,484 | 1,744 | |
1.7% | 2.2% | |
9.6 | 7.2 | |
5 days ago | 5 days ago | |
Rust | Rust | |
MIT License | 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.
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
mun
-
Hotswapping on native languages?
Mun is a statically typed language that compiles to machine code with LLVM, designed to be hot-reloadable: https://mun-lang.org/.
-
Best language to use as a scripting lang for my rust app
Perhaps https://mun-lang.org? Might be a bit raw for your needs tho.
-
Mun v0.4.0 released
But that’s not all! In total, this release contains 111 pull requests made by 5 of our community contributors and our two Core Team members & Dependabot. Thanks for having our back! For a full list have a look at the changelog, but the main improvements are:
-
Mun v0.4.0: a statically-typed scripting language like Rust, written in Rust
Whenever I read about Mun, I'm always really, really intrigued… Until I remember that it currently has no string type and support for one is not currently planned. That's a bit of a shame, IMHO, because otherwise, this looks great!
-
Wren is a small, fast, class-based concurrent scripting language
There's mun [1] which is statically typed and AOT compiled.
-
Lessons from Writing a Compiler
From the reverse-dependencies of the salsa crate, the (archived) Lark compiler used it and the Mun compiler uses it.
-
(async) Rust doesn't have to be hard
I notice that there are projects like mun trying to achieve a similar goal, but I'm kind of curious why they are not getting much attention from the community.
-
Rust Is Hard, Or: The Misery of Mainstream Programming
Have you heard of https://mun-lang.org/ ?
It's an embeddable scripting language with the goal of being a Rust-like language that supports hot reloading of functions AND data. To achieve the latter, it uses GC'ed memory such that memory can easily be mapped when the memory's type changes.
It's still in early development but maybe one day will serve your needs :)
-
After working on our Godot + Rust game fulltime for one year it is now up on Steam
In terms of pure Rust engines/frameworks it seems the overall "problem" is lack of scripting, at least from my perspective. Mun seemed extremely interesting, but since even the project itself says "don't use it" I guess it's not a real option, and considering the amount of time we spent on the GDScript/Rust integration I'm a little worried that rolling something more custom would be even less efficient.
- Python interpreter written in rust reaches 10000 commits
What are some alternatives?
CPython - The Python programming language
Rhai - Rhai - An embedded scripting language for Rust.
pyodide - Pyodide is a Python distribution for the browser and Node.js based on WebAssembly
rune - An embeddable dynamic programming language for Rust.
tauri - Build smaller, faster, and more secure desktop applications with a web frontend.
janet - A dynamic language and bytecode vm
rust-numpy - PyO3-based Rust bindings of the NumPy C-API
lobster - The Lobster Programming Language
PyO3 - Rust bindings for the Python interpreter
tl - The compiler for Teal, a typed dialect of Lua
deno - A modern runtime for JavaScript and TypeScript.