3 ms·
Native apps are not compatible across platform. But more importantly they can't be safely installed by the user. I don't want to install your websites app becau
by Houshalter 9y ago
Native apps are not compatible across platform. But more importantly they can't be safely installed by the user. I don't want to install your websites app because I have no way of knowing it won't give me a virus or drain my battery. How does that let "software publishers control my usage even more"? It takes a significant amount of their control away by putting them in a limited sandbox.
Wasm is the first time we will get cross platform and fully sandboxed native speed code.
None of what you speak of has anything to do with wasm. You can do all that just fine with JavaScript. We've had that world ever since browsers allowed disabling right clicking. Even before js, you could always distribute your webpage as an image if you wanted that. Wasm just let's you run code faster. It doesn't change anything.
- baybal2 9y agoYou are unaware of issues with sandbox. Here they are: 1. A sandbox can have bugs, and they do have them 2. Sandboxed environments have to give huge reach of system api's anyways, and you can do a lot with them 3. There are classes of vulnurabilities that sandboxes can't do anything about: instruction level exploits, hardware bugs, "gpu frying webgl shaders" 4. Human factor (see comments about "run anyways" above)
- Houshalter 9y agoAll of that applies to JavaScript again. Wasm is just lower level and simpler. If anything it should be significantly easier to sandbox because of its simplicity. It doesn't provide any more access to Apis or anything than JavaScript does.
- lozenge 9y agoSome sandbox is better than no sandbox. When's the last time somebody delivered ransomware through the browser without a user explicitly opening a downloaded file?