RustPython

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

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • RustPython

    A Python Interpreter written in Rust

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

  • Rhai

    Rhai - An embedded scripting language for Rust.

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

    InfluxDB logo
  • dyon

    A rusty dynamically typed scripting language

  • duckscript

    Simple, extendable and embeddable scripting language.

  • MicroPython

    MicroPython - a lean and efficient Python implementation for microcontrollers and constrained systems

  • Just putting my hand up to say that MicroPython is awesome (and runs on the RP2040). https://micropython.org

  • wasmer

    🚀 The leading Wasm Runtime supporting WASIX, WASI and Emscripten

  • hpy

    HPy: a better API for Python

  • There is a merge request up to add autogen rust bindings to hpy

    https://github.com/hpyproject/hpy/pull/457

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

    WorkOS logo
  • rye

    a Hassle-Free Python Experience

  • Rye[1] is an all in one manager for python projects. Including the python versions and virtualenv, pip etc etc... It seperates tool deps from app deps. Its all configured through a pyproject.toml config file.

    Its still new but works well. I'm transiting to it from an unholy mess of pyenv, pip installs and other manual hacks.

    If you're starting a new python project that is more than just a straightforward script I'd use Rye from the get go.

    [1]https://rye-up.com/

  • rune

    An embeddable dynamic programming language for Rust. (by rune-rs)

  • pyscript

    Try PyScript: https://pyscript.com Examples: https://tinyurl.com/pyscript-examples Community: https://discord.gg/HxvBtukrg2

  • You are right for the most part. I attended a talk about pyscript[1] (runs python in the browser using wasm which is similar) and there is a 2x performance hit.

    [1] https://pyscript.net

  • wizer

    The WebAssembly Pre-Initializer

  • > once by the wasm runtime to compile the rust-python wasm

    I'm not sure what you mean by that. The runtime doesn't compile WASM, it simply executes it.

    There are tools for dealing with interpreter runtime overhead this by pre-initalizing the environment like Wizer[0]. ComponentizeJS[1] uses it to pre-initialize the Spidermoney engine it packages to gain fast startup times (and you can then prune the initialization only code with wasm-opt). As techniques like ComponentizeJS are also being applied for a specific set of interpreted files, you can even prune parts of the interpreter that would never be used for that specific program. If you want to go even further you could record specific execution profiles and optimize further by those.

    [0]: https://github.com/bytecodealliance/wizer

    [1]: https://github.com/bytecodealliance/ComponentizeJS

  • rustc_codegen_clr

    This rust compiler backend(module) emmits valid CIL (.NET IR), enabling you to use Rust in .NET projects.

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