News for hackers. Stuff that matters.
Re:Wasmer – Universal Binaries Powered by WebAssembly by amelius on Saturday December 08, 2018 @03:26PM (#18637327)
> Once installed, you will be able to run any wasm module (including Nginx!)

If you're running on Linux, I suppose that applies only to WASM modules that interface with a POSIX system (?)

Re:Wasmer – Universal Binaries Powered by WebAssembly by colordrops on Saturday December 08, 2018 @03:32PM (#18637355)
Doesn't WASM interface with a JS/WASM VM, which is then responsible for interfacing with the OS? There are plenty of POSIX compatible VMs, including V8, the Chrome engine.
Re:Wasmer – Universal Binaries Powered by WebAssembly by amelius on Saturday December 08, 2018 @03:34PM (#18637365)
What is the interface called then?

Sorry for being confused. Isn't Nginx coded for a POSIX system? Or did they specifically port it to WASM (with its own interface)

Re:Wasmer – Universal Binaries Powered by WebAssembly by Matthias247 on Saturday December 08, 2018 @05:01PM (#18637789)
The "posix" needs to be on the other side. Things like v8 use a posix interface for interacting with the OS. However they don't provide a posix interface the code which is running inside the VM.

I think what was needed was that someone implemented posix APIs inside webassembly, by delegating to the javascript APIs that e.g. node.js provides, or by building a native module that proxies those calls.

Re:Wasmer – Universal Binaries Powered by WebAssembly by colordrops on Saturday December 08, 2018 @08:06PM (#18638578)
Ah, I misunderstood the question.