hematita
goscript
hematita | goscript | |
---|---|---|
3 | 17 | |
187 | 1,514 | |
- | - | |
0.0 | 6.6 | |
over 1 year ago | 8 months ago | |
Rust | Rust | |
GNU General Public License v3.0 only | 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.
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.
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
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.
crates.io - The Rust package registry
assemblyscript - A TypeScript-like language for WebAssembly.
lokke - Lokke: Clojure for Guile
Bytecode - A Rust proc-macro crate which derives functions to compile and parse back enums and structs to and from a bytecode representation
Rhai - Rhai - An embedded scripting language for Rust.
perling-vm - Perling VM(a.k.a Perling Runtime Environment) is a interpreter for the compiled Perling byte code
capability-providers - wasmCloud official capability providers
RustPython - A Python Interpreter written in Rust
mun - Source code for the Mun language and runtime.