goscript
Rhai
goscript | Rhai | |
---|---|---|
17 | 27 | |
1,514 | 3,472 | |
- | 1.4% | |
6.6 | 9.6 | |
8 months ago | 16 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.
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
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
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.
dyon - A rusty dynamically typed scripting language
assemblyscript - A TypeScript-like language for WebAssembly.
rune - Rune is a programming language developed to test ideas for improving security and efficiency.
Bytecode - A Rust proc-macro crate which derives functions to compile and parse back enums and structs to and from a bytecode representation
hlua - Rust library to interface with Lua
perling-vm - Perling VM(a.k.a Perling Runtime Environment) is a interpreter for the compiled Perling byte code
rune - An embeddable dynamic programming language for Rust.
RustPython - A Python Interpreter written in Rust
lokke - Lokke: Clojure for Guile
Ketos - Lisp dialect scripting and extension language for Rust programs