goscript
mun
goscript | mun | |
---|---|---|
17 | 26 | |
1,518 | 1,767 | |
- | 1.7% | |
6.6 | 7.3 | |
8 months ago | 13 days ago | |
Rust | Rust | |
GNU General Public License v3.0 or later | 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.
goscript
- An alternative implementation of Golang specs, written in Rust
-
A Go compiler, written in Rust
Also see the more recently updated https://github.com/oxfeeefeee/goscript, “An alternative implementation of Golang specs, written in Rust for embedding or wrapping.”
-
Planning to make Go run on Solana
Of course, another reason is to try to make Goscript useful :)
-
Goscript Internals I: Overview
The README mentions it's already passing some cases, how much coverage do you have so far and how do you think it'll improve over time? Any sticky bits that you're worried about?
-
Run Go code in the browser, powered by Rust via Wasm
A cool project, a scripted Go implementation created from scratch and compiled to Wasm.
-
Go code runs locally in browser powered by Rust via Wasm
So I implemented a script version of Go in Rust, and with that I made a playground by compiling it to Wasm. It was so easy and worked just as I expected, and I got excited.
- It is now possible to write golang morally
- Announcing Goscript alpha release, please see readme for details.
-
Now I know why RIIR is a better choice
Someone already did that. https://github.com/oxfeeefeee/goscript
-
What scripting language and what implementation would you use with your program written in Rust?
i've never used it but saw this this week, looked interesting: https://github.com/oxfeeefeee/goscript
mun
-
Hotswapping on native languages?
Mun is a statically typed language that compiles to machine code with LLVM, designed to be hot-reloadable: https://mun-lang.org/.
-
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:
-
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.
1: https://github.com/mun-lang/mun
-
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?
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.
Rhai - Rhai - An embedded scripting language for Rust.
assemblyscript - A TypeScript-like language for WebAssembly.
rune - An embeddable dynamic programming language for Rust.
Bytecode - A Rust proc-macro crate which derives functions to compile and parse back enums and structs to and from a bytecode representation
janet - A dynamic language and bytecode vm
perling-vm - Perling VM(a.k.a Perling Runtime Environment) is a interpreter for the compiled Perling byte code
lobster - The Lobster Programming Language
RustPython - A Python Interpreter written in Rust
tl - The compiler for Teal, a typed dialect of Lua