News for hackers. Stuff that matters.
Re:WASM by Example by dlock17 on Thursday November 16, 2023 @09:37AM (#38290017)
It's possible all right, I've already done it. Imported Tesseract into Go with WASM.

https://news.ycombinator.com/item?id=38146154

It's not trivial because you have to figure out intricacies of the language and whatever compiled it into WASM, and Emscripten compiled WASM does expect some JS glue code. But WASM with WASI doesn't inherently require JS. And since Emscripten's JS glue is called via WASM host imports, you can implement them in whatever the host language is.

There are no comments on this comment yet.