Nicheloom visits: 58,345 all-time · 7,637 in the last 7 days

The opportunity tracker for new startups.

Today: 1,008 launches · Niche of the day: specialized calculation tools · See what launched today →

A Wasm to Go Translator

Get picks like this daily. Today's launch numbers, the top launches, AI and tech news, and a daily opportunity pick, straight to your inbox.

Want to reach these readers? Sponsor an issue.

I've spent the past couple of weeks building a Wasm-to-Go translator.It supports a subset of Wasm useful enough to translate SQLite into 600k LoC (~20 MiB) of Go code. It already passes all of my Go SQLite driver's tests across the 20 platforms I support.Performance compared to https://wazero.io/ is a bit of a mixed bag: code that frequently crosses the Go-Wasm boundary improves, but code that spends most of its time in "Wasm land" doesn't.There's probably room for improvement (I'd love to hear your ideas), but this is also a testament to how good the wazero AOT compiler actually is.You can get a feel for the generated code by looking into https://github.com/ncruces/wasm2go/tree/main/testdataI should eventually spend some time ensuring the translator passes the spectest, though I suspect that'll be far less fun than building the translator itself was.

HN · launched Feb 26, 2026 · 7 upvotes (top 62%) · 2 views

Niche: programming language compilers · 77 launches, 2 in the last 7 days ▼ -60% · Explore this niche →

Category and tags

  • Horizontal
  • Dev tools
  • Developer
  • Not AI
  • Hobby / open-source project

Visit website ↗ Source listing ↗

Could you build this?

No Transpiling WebAssembly bytecode into idiomatic, performant Go code capable of compiling 600k LoC of C/SQLite requires compiler engineering and virtual machine architecture expertise.

What it would actually take: Requires building a full Wasm binary decoder, type checker, control flow restructuring engine (converting Wasm structured control flow / irreducible CFGs into Go loops and gotos), and emulating linear memory/pointer arithmetic in Go. This is low-level compiler research requiring deep expertise in Wasm specs and Go compiler internals.

Discussion

1 comment analyzed.

Competitors mentioned: wazero

Concerns raised: Generated code is slow to compile and unreadable

Feature requests: Performance optimization for little endian platforms using unsafe.Pointer

Competitors

Other products that read as similar to this one : 106 launches clear the similarity bar, closest 8 shown.

Attention rank: #67 of 107 (itself plus its competitors, highest first, normalized so YC and Product Hunt are compared fairly).

Launched 117 days after the earliest competitor.

The niche, labels, vibe code rating and competitor comparison on this page are analysis by Nicheloom. If you use them, please credit nicheloom.com. How you may use our data.