News for hackers. Stuff that matters.
Re:Build Your First Thing with WebAssembly by vonklaus on Saturday June 25, 2016 @06:38PM (#11978331)
I think "this javascript mess" is largely bourne out of an attempt to mitigate content blocking. asm.js is pretty fast and I am not sure how much improvement wasm will provide, but if given access to more of the low-level environment I am concerned advertisers will implement maliscious code and pop-ups in wasm that is non-trivially blocked.
Re:Build Your First Thing with WebAssembly by colordrops on Sunday June 26, 2016 @12:24AM (#11979378)
It's the same VM as JS, so why would it be any less secure?
Re:Build Your First Thing with WebAssembly by vonklaus on Sunday June 26, 2016 @01:05AM (#11979459)
I am not sure exactly how it can be implemented, but I imagine that compiling and serving a binary file could allow for some maliscious things. My biggest worry is that many content blockers override js and search scripts for keywords and functionality which they muitigate. I could see a binary file executing code which provides pop-ups, advertisements or drm which would be harder to eliminate than it is now.

I am not 100% sure if this is true, but it seems possible.

Re:Build Your First Thing with WebAssembly by izym on Sunday June 26, 2016 @05:55AM (#11980081)
Serving a binary file is in principle no different than serving a string file. What can be done with WebAssembly today can most likely also be done with asm.js.