goscript
rgo
goscript | rgo | |
---|---|---|
17 | 4 | |
1,515 | 175 | |
- | - | |
6.6 | 10.0 | |
8 months ago | over 7 years ago | |
Rust | Go | |
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
rgo
- A Go compiler, written in Rust (2016)
-
A Go compiler, written in Rust
I upvoted because this is interesting and I like simple compilers, but unless I'm missing something, this is only a lexer and parser. They mention "rgo was to use LLVM" in the README, but there's no type checker or compiler here as far as I can tell. See the src directory: https://github.com/yberreby/rgo/tree/master/src
-
You had a head start, Gopher, but you can't outrun this crab.
I just found this old project, https://github.com/yberreby/rgo
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.
assemblyscript - A TypeScript-like language for WebAssembly.
Bytecode - A Rust proc-macro crate which derives functions to compile and parse back enums and structs to and from a bytecode representation
perling-vm - Perling VM(a.k.a Perling Runtime Environment) is a interpreter for the compiled Perling byte code
RustPython - A Python Interpreter written in Rust
Rhai - Rhai - An embedded scripting language for Rust.
lokke - Lokke: Clojure for Guile
distant - π§ (Alpha stage software) Library and tooling that supports remote filesystem and process operations. π§
deno - A modern runtime for JavaScript and TypeScript.
orion - Orion is a high level, purely functional programming language with a LISP based syntax.
pyodide - Pyodide is a Python distribution for the browser and Node.js based on WebAssembly
hematita - A memory safe Lua interpreter