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

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • 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.

  • 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

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

  • 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.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

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