Rhai
Rhai - An embedded scripting language for Rust. (by jonathandturner)
hlua
Rust library to interface with Lua (by tomaka)
Our great sponsors
Rhai | hlua | |
---|---|---|
27 | 3 | |
3,423 | 500 | |
3.5% | - | |
9.6 | 0.0 | |
4 days ago | over 4 years ago | |
Rust | C | |
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.
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 2024-02-07.
- RustPython
-
Moonbit: The fast, compact and user friendly language for WebAssembly
For that world there is also Rhai (https://github.com/rhaiscript/rhai), TypeScript, Scheme, etc.
Though Moonbit does look nice too.
- Announcing dwarf!
-
Embeddable Scripting Language for Embedded Rust
As far as I know there exists rhai scripting lang. You can check it out -> https://github.com/rhaiscript/rhai
- RustPython – A Python-3 (CPython >= 3.11.0) Interpreter written in Rust
- 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? :)
hlua
Posts with mentions or reviews of hlua.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-10-22.
-
Are there any embeddable languages in rust?
The C++ language doesn’t embed Lua, various game engines (and other applications) written in C++ do, using an API binding that provides a C++ wrapper around Lua’s underlying C API. Well there are Lua bindings for Rust as well (as a randomly selected example see hlua), and there are bindings for several other languages as well (like Python).
-
Rust's interface to the Lua programming language is called 'mlua'. not Lust. This should get fixed.
There's an older binding called hlua https://github.com/tomaka/hlua
-
Does rust have function works like eval?
hlua or rlua are what you want for Lua, rust-cpython or PyO3 for Python, rutie for Ruby, and possibly deno_core for JavaScript.
What are some alternatives?
When comparing Rhai and hlua you can also consider the following projects:
dyon - A rusty dynamically typed scripting language
rune - Rune is a programming language developed to test ideas for improving security and efficiency.
rune - An embeddable dynamic programming language for Rust.
RustPython - A Python Interpreter written in Rust
Ketos - Lisp dialect scripting and extension language for Rust programs
rust-lua - Safe Rust bindings to Lua 5.1
rlua - High level Lua bindings to Rust
mun - Source code for the Mun language and runtime.
helix - A post-modern modal text editor.
td_rlua - Zero-cost high-level lua 5.3 wrapper for Rust
rust-lua53 - Lua 5.3 bindings for Rust
gluon - A static, type inferred and embeddable language written in Rust.