2 ms·
> The benefit of (1) is that it makes webassembly virtual machines simpler and safer Why would that be safer at all?
by kaba0 4y ago
> The benefit of (1) is that it makes webassembly virtual machines simpler and safer
Why would that be safer at all?
- josephg 4y agoIt lowers the surface area for bugs (and thus vulnerabilities). WASM is gloriously simple right now. Adding a garbage collector dramatically increases the security surface area.
- kaba0 4y agoI do believe that the tradeoff is well worth it though. We can write very high quality software (think of JVM, V8, etc) when the incentives are different than the 163748th CRUD app. Otherwise we could just as well use a trivial brainfuck interpreter as target, that won’t have a vulnerability ever.