News for hackers. Stuff that matters.
Re:Universal Binaries Using WASM by syrusakbary on Tuesday February 26, 2019 @04:29AM (#19253035)
We are working towards that. There are two ABIs (sets of syscalls, such as read a file or opening a socket) that we believe would help to bring universality between platforms: * CloudABI * PWSIX

We wrote more about it here: https://medium.com/wasmer/webassembly-cloudabi-b573047fd0a9

Re:Universal Binaries Using WASM by plq on Tuesday February 26, 2019 @07:11AM (#19253617)
What about packaging & distribution? Unless I missed something, it's up to us to package & ship our app complete with assets.

I firmly believe that this project is incomplete without a standard like .war (Web ARchive, from the Java ecosystem).

Of course, you could just use what's out there eg. .app (macos) or .appimage (gnu/linux) but there has to be a well-defined and clearly endorsed way of distributing wasmer'd apps.

Re:Universal Binaries Using WASM by tyfon on Tuesday February 26, 2019 @03:15PM (#19257943)
This "ship all libraries in the package" approach is also quite scary, you never know if an app will use your patched local libraries or use an ancient library with lots of exploits.

Double so for anything exposed to the internet.

Re:Universal Binaries Using WASM by plq on Tuesday February 26, 2019 @07:31PM (#19259817)
WASM binaries needn't be exposed to the internet.

That said, the OS-sanctioned runtime could very well support a shared-object-like approach instead of one-binary-per-app but that would 1. complicate the runtime quite a lot 2. hinder startup times of wasm apps due to dependency solving.