DEV Community

Discussion on: Webassembly is good but doesn't the thought scare you that sites will now be able to run full binary programs on your devices?

Collapse
 
ahferroin7 profile image
Austin S. Hemmelgarn

Compiled web assembly isn't native machine code. In fact, it couldn't be native machine code, otherwise it wouldn't be portable. It's just like JVM or CLR byte-code in that respect, though it's easier to disassemble than both.

On top of that though, it's run in an environment pretty much equivalent to JavaScript in terms of security (so, reasonably good security short of hyper-targeted attacks).