Rhai
Rhai - An embedded scripting language for Rust. (by jonathandturner)
hlua
Rust library to interface with Lua (by tomaka)
Our great sponsors
Rhai | hlua | |
---|---|---|
20 | 3 | |
2,464 | 488 | |
4.5% | - | |
9.2 | 0.0 | |
5 days ago | about 3 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 2023-01-13.
- 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?
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 - An embeddable dynamic programming language for Rust.
Ketos - Lisp dialect scripting and extension language for Rust programs
rust-lua - Safe Rust bindings to Lua 5.1
RustPython - A Python Interpreter written in Rust
rlua - High level Lua bindings to Rust
helix - A post-modern modal text editor.
mun - Source code for the Mun language and runtime.
rust-lua53 - Lua 5.3 bindings for Rust
td_rlua - Zero-cost high-level lua 5.3 wrapper for Rust
Clippy - A bunch of lints to catch common mistakes and improve your Rust code. Book: https://doc.rust-lang.org/clippy/
kanidm - Kanidm: A simple, secure and fast identity management platform