Settings

Theme

Ncruces/wasm2go: A WASM to Go translator

github.com

2 points by atkrad 4 months ago · 2 comments

Reader

ncruces 4 months ago

I guess someone read the “announcement” that I'm now confident enough this will work that I'll be switching my mildly popular SQLite bindings to use it: https://github.com/ncruces/go-sqlite3/discussions/361

If you're interested in generated sample code, see: https://github.com/ncruces/wasm2go/tree/main/testdata

If you're interested in using wasm2go, but feel that something is missing, I'm listening.

Caveat: I don't plan to implement any host modules myself (e.g. WASI), but you're welcome to build your own.

I'm open to supporting additional Wasm proposals, if feasible, and if they get some use. Examples: I don't think tail-calls are feasible; I assume exception handling could be useful for C++; and I'm definitely interested in dynamic linking support.

gnabgib 4 months ago

Original Show (7 points) https://news.ycombinator.com/item?id=47168530

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection