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