Rhai
RustPython
Our great sponsors
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 |
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
- Best language to use as a scripting lang for my rust app
-
[concept] Modular kernel
The OS would be built in Rust and the module system could be made using ELF executibles (fast, but it could be really hard to implement modules to communicate with the kernel), WASM (can compile from many languages, slower but not too slow, APIs can be simple enough to implement if the correct VM is choses) or even a custom scripting language like rhai (slower, but best way for the implementation [way to connect modules and kernel]).
-
Godot game engine now has its own foundation
For sure, that's where something like rhai would shine: https://crates.io/crates/rhai
Oh yeah, for sure. But there are rust based scripting languages that are designed to interop with rust, such as rhai: https://crates.io/crates/rhai
- Sooooo... are we going to have a plugin system or no? :)
-
Managing your Dotfiles with Dotter (Tutorial)
Markdown support Markdown as a templating language is supported, and you can use global and local configs. Also, there are several built-in helpers, and you can make your own, in the language rhai
-
easy to use Plugin API in rust?
I came across this library lately which might be close to what you’re looking for: https://github.com/rhaiscript/rhai
- Are there any embeddable languages in rust?
- Whats your favourite open source Rust project that needs more recognition?
RustPython
-
it's happening!!!! damn rust programmers they are rewriting all the world in rust
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?
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.
-
Tools for creating a programming language in rust
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
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?
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.
Well, there's rustpython
-
Python 3.12 speedup plan! Includes less RC overhead, compact objects, trace optimized interpreter and more!
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?
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? :)
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?
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