Rhai
mun
Our great sponsors
Rhai | mun | |
---|---|---|
20 | 25 | |
2,464 | 1,491 | |
4.5% | 5.4% | |
9.2 | 8.1 | |
5 days ago | 6 days ago | |
Rust | Rust | |
Apache License 2.0 | GNU General Public License v3.0 or later |
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?
mun
-
Best language to use as a scripting lang for my rust app
Perhaps https://mun-lang.org? Might be a bit raw for your needs tho.
-
Mun v0.4.0 released
But that’s not all! In total, this release contains 111 pull requests made by 5 of our community contributors and our two Core Team members & Dependabot. Thanks for having our back! For a full list have a look at the changelog, but the main improvements are:
For those of you who haven’t heard of Mun before, Mun is an embeddable programming language empowering creation through iteration. The idea to create Mun originated out of frustration with the Lua dynamic scripting language and a desire to have similar hot reloading functionality available in Rust. As such, it’s not a direct competitor with Rust, but instead is intended to be used with Rust (or C/C++) as a host/embedded language pairing. Actually, Mun is completely written in Rust, building on similar crates as rust-analyzer and rustc. Its key features include:
-
Mun v0.4.0: a statically-typed scripting language like Rust, written in Rust
Whenever I read about Mun, I'm always really, really intrigued… Until I remember that it currently has no string type and support for one is not currently planned. That's a bit of a shame, IMHO, because otherwise, this looks great!
-
Wren is a small, fast, class-based concurrent scripting language
There's mun [1] which is statically typed and AOT compiled.
-
Lessons from Writing a Compiler
From the reverse-dependencies of the salsa crate, the (archived) Lark compiler used it and the Mun compiler uses it.
-
(async) Rust doesn't have to be hard
I notice that there are projects like mun trying to achieve a similar goal, but I'm kind of curious why they are not getting much attention from the community.
-
Rust Is Hard, Or: The Misery of Mainstream Programming
Have you heard of https://mun-lang.org/ ?
It's an embeddable scripting language with the goal of being a Rust-like language that supports hot reloading of functions AND data. To achieve the latter, it uses GC'ed memory such that memory can easily be mapped when the memory's type changes.
It's still in early development but maybe one day will serve your needs :)
-
After working on our Godot + Rust game fulltime for one year it is now up on Steam
In terms of pure Rust engines/frameworks it seems the overall "problem" is lack of scripting, at least from my perspective. Mun seemed extremely interesting, but since even the project itself says "don't use it" I guess it's not a real option, and considering the amount of time we spent on the GDScript/Rust integration I'm a little worried that rolling something more custom would be even less efficient.
- Python interpreter written in rust reaches 10000 commits
What are some alternatives?
dyon - A rusty dynamically typed scripting language
rune - An embeddable dynamic programming language for Rust.
hlua - Rust library to interface with Lua
Ketos - Lisp dialect scripting and extension language for Rust programs
RustPython - A Python Interpreter written in Rust
helix - A post-modern modal text editor.
janet - A dynamic language and bytecode vm
lobster - The Lobster Programming Language
kanidm - Kanidm: A simple, secure and fast identity management platform
deno - A modern runtime for JavaScript and TypeScript.
LiteDB - LiteDB - A .NET NoSQL Document Store in a single data file - https://www.litedb.org