What about compatibility with Python packages?
43
RustPython: An open source Python 3 (CPython >= 3.11.0) interpreter written in Rust
(rustpython.github.io)
It'll have to implement CPython's C API to work with packages that use native code. I don't know if that's the plan but I wouldn't consider their implementation compete without it.
WebAssembly
I've unironically been looking for a decent way to run Python in the web, mostly for code sharing purposes (our app needs certain calculations in offline mode), so this could actually work for me.
Can RustPython be sandboxed properly when used as a scripting language? You can't do sandboxing with CPython. There is an abandoned sandboxing project for pypy, but then you'll be stuck with an old version of python.
this post was submitted on 07 Feb 2024
43 points (100.0% liked)
Rust
8252 readers
30 users here now
Welcome to the Rust community! This is a place to discuss about the Rust programming language.
Wormhole
Credits
- The icon is a modified version of the official rust logo (changing the colors to a gradient and black background)
founded 3 years ago
MODERATORS