Tech News
← Back to articles

Goiaba: An experimental Go compiler, written in Rust

read original related products more articles

Goiaba

An experimental Go parser and WebAssembly compiler written in Rust. Goiaba translates Go source code into WebAssembly bytecode, enabling Go programs to run in web browsers and other WebAssembly environments.

Features

Parse Go source code into an Abstract Syntax Tree (AST)

Compile Go functions to WebAssembly modules

Support for fundamental Go language features (functions, control flow, arithmetic)

Export Go functions for use in JavaScript/WebAssembly environments

Export Go functions for use in Rust through C ABI

Export Go functions for use in Zig through C ABI

Command-line interface for compilation

... continue reading