Re:An Abridged Cartoon Introduction To WebAssembly
by thaumasiotes on Monday May 15, 2017 @07:42PM
(#14346207)
Wouldn't it be easier to change the security model on Java applets than to go through whatever the process of developing wasm is?
Re:An Abridged Cartoon Introduction To WebAssembly
by Rusky on Tuesday May 16, 2017 @12:12PM
(#14350726)
Perhaps, but there are other benefits to wasm than "lacks Java applets' downsides"- JVM bytecode is locked into the Java object model and garbage collector, while wasm doesn't impose any particular style of memory management. This makes it far more straightforward to use in high-performance situations than Java can ever be.
But Javascript's dynamically typed textual representation has nothing to do with what makes it better than Java applets. It's the security model, which wasm shares.