RustPython – A Python-3 (CPython >= 3.11.0) Interpreter written in Rust

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • RustPython

    A Python Interpreter written in Rust

    RustPython didn't adapt the optimization designs yet. One of the current major goal is this optimization: https://github.com/RustPython/RustPython/issues/3244

    RustPython even cannot run `1+1` without calling `int.__add__` yet.

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  • cc-rs

    Rust library for build scripts to compile C/C++ code into a Rust library

    It does support calling into other compilers and toolchains through build scripts and such. Take cc-rs[0] for example: this allows building C and C++ files natively without even calling an executable yourself.

    In practice, I'd expect libraries to just call make/cmake/ninja for you, or (like openssl-sys) ask you to install the necessary libraries using your favourite package manager.

    [0]: https://github.com/rust-lang/cc-rs

  • Graal

    GraalVM compiles Java applications into native executables that start instantly, scale fast, and use fewer compute resources πŸš€

    Its a "universal" VM from Oracle that supports many languages and other bells and whistles like AOT compilation of interpreted languages: https://www.graalvm.org/

    But its Java support is most prominant, and the JIT runtime is significantly faster than OpenJDK.

    Which is why its so promising for Python. I'd argue that OpenJDK is way ahead of the Pyton runtime, and GraalVM is way ahead of OpenJDK.

    But its also kinda iffy because:

    - Python support isnt very good now

    - Oracle is Oracle. They have the better optimizations walled off behind a "Enteprise Edition" registration and license.

  • Rhai

    Rhai - An embedded scripting language for Rust.

  • Servo

    Servo, the embeddable, independent, memory-safe, modular, parallel web rendering engine

    It’s gonna depend on what kind of external things are needed.

    It can be more involved, it can be less involved.

    For example https://github.com/servo/servo seems a bit involved but at the same time not too bad either.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Linux version of Warp terminal is here

    4 projects | news.ycombinator.com | 22 Feb 2024
  • RustPython

    14 projects | news.ycombinator.com | 7 Feb 2024
  • Kobold: new web UI crate with zero-cost static DOM

    5 projects | /r/rust | 23 Mar 2023
  • 2D game with barebone graphics library

    4 projects | /r/rust_gamedev | 12 Feb 2023
  • Best language to use as a scripting lang for my rust app

    4 projects | /r/rust | 13 Jan 2023

Did you konow that Rust is
the 5th most popular programming language
based on number of metions?