News for hackers. Stuff that matters.
Re:Universal Binaries Using WASM by richardwhiuk on Tuesday February 26, 2019 @04:57AM (#19253131)
What problem is this possibly solving? Why wouldn't you just compile your Rust/Go to a native binary?
Re:Universal Binaries Using WASM by thefounder on Tuesday February 26, 2019 @04:59AM (#19253143)
A portable binary like wasm makes deployment easier and potentially makes it more secure/easier to sandbox.
Re:Universal Binaries Using WASM by richardwhiuk on Tuesday February 26, 2019 @05:42AM (#19253292)
Makes deployment harder surely? Now you need to both ship the wasm runner and the compiled code of the executable?
Re:Universal Binaries Using WASM by int_19h on Tuesday February 26, 2019 @07:13PM (#19259710)
Projects like this one are the first step towards native wasm support on OS level across major platforms. It'll happen, the only question is how soon.
Re:Universal Binaries Using WASM by amelius on Tuesday February 26, 2019 @05:55AM (#19253328)
You can still ship your native code. So you have two options instead of one.
Re:Universal Binaries Using WASM by thefounder on Tuesday February 26, 2019 @10:41AM (#19255140)
The host is supposed to support wasm and most hosts will do.
Re:Universal Binaries Using WASM by mr_toad on Wednesday February 27, 2019 @07:14AM (#19262739)
With about 50% of corporate desktops still using Windows 7 with IE11 as the default browser - it’s going to take a while before wasm is truely ubiquitous.
Re:Universal Binaries Using WASM by maxgraey on Wednesday February 27, 2019 @09:21AM (#19263352)
That's not true: https://bit.ly/2GMbAN3
Re:Universal Binaries Using WASM by rkangel on Tuesday February 26, 2019 @06:53AM (#19253538)
You can, if you've written it in Rust/Go. If you write in a another language, then you don't have to have a compiler (or VM) that supports multiple platforms, you just compile to WASM, and this would sort it out.