3 ms·
Ncruces/wasm2go: A WASM to Go translator
- gnabgib 7mo agoOriginal Show (7 points) https://news.ycombinator.com/item?id=47168530 https://news.ycombinator.com/item?id=47168530
- ncruces 7mo agoI 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 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 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.