mun
rune
Our great sponsors
mun | rune | |
---|---|---|
26 | 21 | |
1,735 | 1,516 | |
2.8% | 4.9% | |
7.2 | 9.0 | |
about 1 month ago | 7 days ago | |
Rust | Rust | |
GNU General Public License v3.0 or later | 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.
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
rune
- RustPython
-
Steel – An embedded scheme interpreter in Rust
A Lisp, a weird dialect of Lisp, is not better than Lua. Why use Rune [0]?!
-
Embeddable Scripting Language for Embedded Rust
I think https://github.com/rune-rs/rune meets all your requirements.
This is what I based my comment on - https://github.com/rune-rs/rune/issues/444
-
-🎄- 2022 Day 13 Solutions -🎄-
Late start today as well. I really thought today would be the day that I'd have to abandon my goal of no heap allocations. But, luckily I had an arena allocator available that I could fairly easily adapt to store data on the stack. And with some tweaks we have today's solution:
- ᚣ the Rune Programming Language
-
Designing a Rust -> Rust plugin system
I know you said you don’t want to embed another language but IMO Rune is worth a consideration here. It can be a pretty thin abstraction over rust by passing native structs to scripts and calling methods on them. The syntax and semantics are very close to rust so it feels natural. https://github.com/rune-rs/rune
-
Rune vs Rhai?
The biggest technical difference I'd say is that Rune uses a stack-based machine which makes adding deep C support somewhat obvious while Rhai performs AST walking to execute scripts.
-
How a Single Line of Code Made a 24-core Server Slower Than a Laptop
Here is the repro I ended up writing to validate the problem if anyone wants to take it for a spin.
- How a Single Line of Code Made a 24-Core Server Slower Than a Laptop
What are some alternatives?
Rhai - Rhai - An embedded scripting language for Rust.
RustPython - A Python Interpreter written in Rust
janet - A dynamic language and bytecode vm
miniserve - 🌟 For when you really just want to serve some files over HTTP right now!
Flux.jl - Relax! Flux is the ML library that doesn't make you tensor
lobster - The Lobster Programming Language
gluon - A static, type inferred and embeddable language written in Rust.
deno - A modern runtime for JavaScript and TypeScript.
tl - The compiler for Teal, a typed dialect of Lua
dyon - A rusty dynamically typed scripting language