← All projects
Project record2 mentions
Originally shared on Hacker News

wasm2go

A Wasm-to-Go transpiler that converts WebAssembly modules into Go code. The project is adding support for the threads/atomics proposal and has been used to transpile SQLite to Go as well as other C, C++, Zig, and Perl libraries to Go.

Last shared For A Go developers transpiling libraries written in other languages (C, C++, Zig, Perl) into Go.
01 / Source history

Shared over time

Each entry reflects what was shared on that date. Details may have changed since then.

  1. wasm2go

    A Wasm-to-Go transpiler that converts WebAssembly modules into Go code. The project is adding support for the threads/atomics proposal and has been used to transpile SQLite to Go as well as other C, C++, Zig, and Perl libraries to Go.

    Audience: A Go developers transpiling libraries written in other languages (C, C++, Zig, Perl) into Go.

    Posted by @ncruces · Original source ↗

    Source text · @ncruces · · Source ↗

    Adding support for the threads/atomics proposal to my Wasm to Go transpiler: https://github.com/ncruces/wasm2go Since I started it a couple of months ago, it's been used by me to transpile SQLite to Go, and by some other folks to transpile other C, C++, Zig and even Perl libraries to Go.
  2. wasm2go

    A Wasm to Go transpiler that converts WebAssembly modules into Go code, letting Go projects use Wasm-compiled libraries without a separate runtime; the author uses it for their SQLite driver and several other projects already use it.

    Posted by @ncruces · Original source ↗

    Source text · @ncruces · · Source ↗

    Still working on improving wasm2go (a Wasm to Go "transpiler"): https://github.com/ncruces/wasm2go