News for hackers. Stuff that matters.
Re:Experimental support for WebAssembly in V8 by twistedpair on Tuesday March 15, 2016 @04:13PM (#11292614)
I can only imagine the possible security exploits available by passing AST binaries directly to the browser, rather than letting the JS lexer/tokenizer and compiler enforce language rules from the source.
Re:Experimental support for WebAssembly in V8 by robbrown451 on Tuesday March 15, 2016 @04:46PM (#11292846)
Luckily, the designers of WebAssembly imagined those things before you.
Re:Experimental support for WebAssembly in V8 by lisivka on Tuesday March 15, 2016 @08:12PM (#11294053)
That's true of version 1, but supporting arbitrary JavaScript is on the roadmap.
Re:Experimental support for WebAssembly in V8 by jfbastien on Tuesday March 15, 2016 @04:24PM (#11292680)
The wasm AST is also a language, and a very simple one at that. Much easier to test and fuzz than all-out JS.