Is it? How do we know? The attack surface in browsers is huge.
Is it? How do we know? The attack surface in browsers is huge.
1. WebAssembly has almost no APIs to the platforms whereas Flash had a bunch (i.e. it's "as safe as JavaScript, because it can only call JavaScript"). 2. The code is all new, as opposed to what I hear is a hard-to-maintain older codebase which wasn't designed with security in mind. 3. It's very static in that memory accesses are pretty easy to bounds check for the compiler.
Implementation-wise there's plenty of interesting things that can be done to tighten security of WebAssembly.
If anyone had actually cared about security on the web we wouldn't be where we are now.
And we already have a bluetooth stack for the web, USB drivers in JS, etc.
To the point that they redefined the URL spec and then complained that cURL didn't fulfill it.