hlua
Rhai
Our great sponsors
hlua | Rhai | |
---|---|---|
3 | 27 | |
496 | 3,472 | |
- | 3.2% | |
0.0 | 9.6 | |
over 4 years ago | 12 days ago | |
C | Rust | |
MIT License | Apache License 2.0 |
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.
hlua
-
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.
Rhai
- 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
-
Rhai 1.13.0 released - embedded scripting engine for Rust.
Version 1.13.0 is released to crates.io.
-
What's the best way to make a type optionally Sync/Send?
Check out https://github.com/rhaiscript/rhai/blob/main/src/func/native.rs
- 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
What are some alternatives?
rust-lua - Safe Rust bindings to Lua 5.1
dyon - A rusty dynamically typed scripting language
rlua - High level Lua bindings to Rust
rune - Rune is a programming language developed to test ideas for improving security and efficiency.
td_rlua - Zero-cost high-level lua 5.3 wrapper for Rust
rune - An embeddable dynamic programming language for Rust.
rust-lua53 - Lua 5.3 bindings for Rust
RustPython - A Python Interpreter written in Rust
Clippy - A bunch of lints to catch common mistakes and improve your Rust code. Book: https://doc.rust-lang.org/clippy/
Ketos - Lisp dialect scripting and extension language for Rust programs
Rustup - The Rust toolchain installer
mun - Source code for the Mun language and runtime.