goscript
Bytecode
goscript | Bytecode | |
---|---|---|
17 | 1 | |
1,514 | 6 | |
- | - | |
6.6 | 0.0 | |
8 months ago | about 2 years 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
Bytecode
-
A Rust macro which will derive Bytecode for you
... [dependencies] ... bytecode = {git = "https://github.com/YJDoc2/Bytecode" } ...
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.
quote - Rust quasi-quoting
assemblyscript - A TypeScript-like language for WebAssembly.
maybe-async-rs - A procedure macro to unify SYNC and ASYNC implementation for downstream application/crates
perling-vm - Perling VM(a.k.a Perling Runtime Environment) is a interpreter for the compiled Perling byte code
field_names - proc-macro for accessing struct field names at runtime
RustPython - A Python Interpreter written in Rust
darling - A Rust proc-macro attribute parser
Rhai - Rhai - An embedded scripting language for Rust.
bytecoding - Derive macro for encoding/decoding instructions and operands as bytecode
lokke - Lokke: Clojure for Guile
customasm - π» An assembler for custom, user-defined instruction sets! https://hlorenzi.github.io/customasm/web/