neelance / go_js_wasm_exec

POC on how to use WebAssembly binaries generated by the Go compiler in a non-web environment

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Proof of Concept

This is a proof of concept on how to use WebAssembly binaries generated by the Go compiler in a non-web (non-JS) environment. Currently println and fmt.Println are supported. It is mostly a direct translation of https://github.com/golang/go/blob/master/misc/wasm/wasm_exec.js. Please note that this interface is not public or stable, it may change with future versions of Go.

About

POC on how to use WebAssembly binaries generated by the Go compiler in a non-web environment


Languages

Language:Go 100.0%