Rhai
hematita
Our great sponsors
Rhai | hematita | |
---|---|---|
27 | 3 | |
3,460 | 187 | |
2.6% | - | |
9.6 | 0.0 | |
3 days ago | over 1 year ago | |
Rust | Rust | |
Apache License 2.0 | GNU General Public License v3.0 only |
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
- 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
hematita
-
Which scripting languages work well embedded with Rust?
lua and rust works well. With both the rlua and mlua bindings. There is also a lua vm written in rust: https://github.com/danii/hematita though it is rather early for that.
-
What scripting language and what implementation would you use with your program written in Rust?
Rust has some good bindings with lua, for example mlua and rlua. There is also a rewrite of lua in 100% safe rust called hematita ( https://github.com/danii/hematita )
-
hematita - A Memory Safe Lua Interpreter In Rust
Side note: I'm aware `cargo install hematita_cli` doesn't work, for now you'll have to run `cargo install --git 'https://github.com/danii/hematita.git' hematita_cli`. I've refrained from publishing the CLI crate because I remembered I could just include the CLI in the main crate, so I'm giving myself time to choose whether or not I should.
What are some alternatives?
dyon - A rusty dynamically typed scripting language
Lua - Lua is a powerful, efficient, lightweight, embeddable scripting language. It supports procedural programming, object-oriented programming, functional programming, data-driven programming, and data description.
rune - Rune is a programming language developed to test ideas for improving security and efficiency.
crates.io - The Rust package registry
hlua - Rust library to interface with Lua
goscript - An alternative implementation of Golang specs, written in Rust for embedding or wrapping.
rune - An embeddable dynamic programming language for Rust.
lokke - Lokke: Clojure for Guile
RustPython - A Python Interpreter written in Rust
capability-providers - wasmCloud official capability providers
Ketos - Lisp dialect scripting and extension language for Rust programs
mun - Source code for the Mun language and runtime.