News for hackers. Stuff that matters.
Re:Universal Binaries Using WASM by mkl on Tuesday February 26, 2019 @03:47AM (#19252883)
Embedding in other applications seems useful - imagine using it as a general plugin system. It's a bit strange that security and sandboxing aren't mentioned; that seems like WASM's primary value proposition here.
Re:Universal Binaries Using WASM by pavlov on Tuesday February 26, 2019 @04:40AM (#19253076)
Those plugins still need an API in some language to interface with the host. A natural choice would be JavaScript: it's the world's most popular programming language, relatively easy to embed, and runtimes are available in every operating system.

At that point, you don't need WASM separately — just execute JavaScript and allow plugin writers to embed WASM modules for high performance, just like browsers do.

Re:Universal Binaries Using WASM by mkl on Tuesday February 26, 2019 @05:01AM (#19253150)
Well, if you were doing that, I don't think you'd need wasmer. V8 alone would be enough. Wasmer seems like an attempt to get away from Javascript and interface more directly with WASM.