News for hackers. Stuff that matters.
Re:An Abridged Cartoon Introduction To WebAssembly by Rusky on Monday May 15, 2017 @01:53PM (#14343576)
Java applets have a radically different security model from Javascript and wasm. There's only thing that makes wasm any closer to Java applets than Javascript already is- it's distributed as a bytecode that's not dynamically typed, rather than text.

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.

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.