RustPython: A Python Interpreter Written in Rust
7 months ago
- #Python
- #Rust
- #WebAssembly
- RustPython 是一个用 Rust 编写的开源 Python 3 解释器。
- 它可以嵌入到 Rust 程序中进行脚本编写,或编译为 WebAssembly 以在浏览器中执行。
- RustPython 采用 MIT 许可证授权。
- 其他 Python 实现包括 CPython、Jython、IronPython、PyPy 和 Stackless,各具独特优势。
- Jython 将 Python 2 编译为 Java 字节码以实现 JVM 集成。
- IronPython 与 .NET 集成,允许使用 .NET 框架和 Python 2 库。
- RustPython 旨在为 Rust 提供类似的集成优势,并支持 WebAssembly 执行。