Rhai VS RustPython

Compare Rhai vs RustPython and see what are their differences.

Our great sponsors
  • InfluxDB - Build time-series-based applications quickly and at scale.
  • SonarQube - Static code analysis for 29 languages.
  • SaaSHub - Software Alternatives and Reviews
Rhai RustPython
20 69
2,464 13,449
4.5% 6.2%
9.2 9.9
6 days ago 5 days ago
Rust Rust
Apache License 2.0 MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

Rhai

Posts with mentions or reviews of Rhai. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-01-13.

RustPython

Posts with mentions or reviews of RustPython. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-12-17.
  • it's happening!!!! damn rust programmers they are rewriting all the world in rust
    4 projects | reddit.com/r/ProgrammerHumor | 17 Dec 2022
    We have already re-written the Python Interpreter in rust. Javascript will be just too easy to re-write in rust, fear not for we have already re-made nodejs in rust; aka Deno.
  • how is python actually implemented?
    2 projects | reddit.com/r/learnpython | 24 Nov 2022
    Quick note - CPython is the OG and most popular implementation of Python, but it is not the only implementation of Python. Some other fairly well-known examples are Jython (Java implementation), RustPython (Rust implementation), or the more mind-bending PyPy (Python implemented via Python 🤯). Python is an interpreted language, and you can think of all these different Python implementations as being different implementations of the interpreter itself. The interpreter is the program that takes your Python code and executes it via a virtual machine. This differs from a compiled language (like C) which needs the high-level C code to first be converted to machine code and then executed by the CPU.
  • Meet FastExcel, the fastest excel reader wrote in rust with a python binding.
    2 projects | reddit.com/r/Python | 23 Nov 2022
  • Tools for creating a programming language in rust
    8 projects | reddit.com/r/rust | 15 Nov 2022
    lalrpop is great. It's a completely different approach from nom, but for parsing a programming language, I would at least consider it. RustPython uses it.
  • What I like about rust
    2 projects | reddit.com/r/rust | 1 Nov 2022
    I still understand the priorities, there was lately some significant effort to improve performance ( and this gave this kind of hilarious extrapolation Python 3.14 Will be Faster than C++ - totally a clickbait, sorry ) - and they're still improving everything that makes static analysis reliable. So while I say I wish I have to respect the decisions that the core team are making, it paid off so far. There is also a very active community rewriting the interpreter in rust, this blows my mind. We have also to consider what happened to Perl. Perl 6 was a big retro-incompatible rewrite and ... it's basically dead now.
  • Rust going to impact python?
    2 projects | reddit.com/r/Python | 6 Oct 2022
    I mean, it already has happened. Now obviously that doesn't mean cpython is going to get replaced by a rust version any time soon, but I'd be cautious about saying never.
    2 projects | reddit.com/r/Python | 6 Oct 2022
    Well, there's rustpython
  • Python 3.12 speedup plan! Includes less RC overhead, compact objects, trace optimized interpreter and more!
    2 projects | reddit.com/r/Python | 19 Sep 2022
    RustPython already exists for those who want it, it's totally possible there's a future world where it's more popular than CPython and people switch, but it's pretty unlikely https://github.com/RustPython/RustPython
  • How do the neovim plugins for OrgMode and Magit compare with the real thing?
    8 projects | reddit.com/r/emacs | 6 Aug 2022
    Honestly, my fantasy IDE would be something very much like emacs, but ported from the ground up in rust and streamlined a bit to avoid some of the bloat, and using RustPython for scripting the layers, including a badass kakoune/helix emulator.
  • Sooooo... are we going to have a plugin system or no? :)
    7 projects | reddit.com/r/HelixEditor | 6 Aug 2022
    I’m still hoping out hope for something like RustPython https://rustpython.github.io. Using Python to extend SublimeText over the years has been amazing. I have tons of little helpers that were dirt simple to write. I would love to see Helix adopt a known and popular language that’s easy for anyone to use rather than something obscure like Rhai.

What are some alternatives?

When comparing Rhai and RustPython you can also consider the following projects:

CPython - The Python programming language

dyon - A rusty dynamically typed scripting language

pyodide - Pyodide is a Python distribution for the browser and Node.js based on WebAssembly

tauri - Build smaller, faster, and more secure desktop applications with a web frontend.

rust-numpy - PyO3-based Rust bindings of the NumPy C-API

rune - An embeddable dynamic programming language for Rust.

PyO3 - Rust bindings for the Python interpreter

hlua - Rust library to interface with Lua

helix - A post-modern modal text editor.

Ketos - Lisp dialect scripting and extension language for Rust programs

boa - Boa is an embeddable and experimental Javascript engine written in Rust. Currently, it has support for some of the language.

Cython - The most widely used Python to C compiler