5 ms·
java/flash was plugin, wasm is buildin
by singularity2001 8y ago
java/flash was plugin,
wasm is buildin
- TimTheTinker 8y agoQt isn’t built in.
- singularity2001 8y agobut can be run without user confirmation/interaction, which is good and huge.
- TimTheTinker 8y agoAt one time Java, Flash, Silverlight, etc. would all run without user confirmation/interaction. User confirmation was only introduced when security problems became an issue. So my point still stands — Qt on WebAssembly is analogous to the plugins of yore like Flash and Java applets. WebAssembly is kind of like a new plugin container for native code.
- martin_ky 8y ago> Qt on WebAssembly is analogous to the plugins of yore like Flash and Java applets. WebAssembly is kind of like a new plugin container for native code. No it’s not. With WebAssembly, it is a matter of trust in your browser vendor and its ability to properly sandbox WASM/JS content. With plugins, you basically gave up full control of your machine also to whichever plugin vendor. The number of trusted relationships is different - it’s fewer with builtin WebAssembly. That is a noteworthy distinction, I think.
- TimTheTinker 8y agoThat's true... but my point was that WebAssembly (including asm.js) now provides what Flash and Java provided previously -- a portal to run non-JS code at near-native speeds.
- martin_ky 8y agoRight. There's nothing revolutionary here, that's for sure. I think, it could have been Java (or the JVM at least) in place of WebAssembly in browsers already a long time ago, were it a more open standard.
- TimTheTinker 8y agoThis has been tried, and it failed. The primary problem was that startup time of embedded Java applets was abysmally slow. You'd watch the "java loading..." progress bar in the browser window and wait for several seconds before it would finally start. Flash may have gotten its name because it had an incredibly faster startup time than Java. Java itself is a very open standard (OpenJDK, Java language standard, etc.). Openness of the standard wasn't the problem. In fact, it offered a much stronger uniformity of experience no matter what browser you used, unlike web technologies of the time. The security issues with Java and Flash were the final nail in the coffin, but they had already been fading -- Java due to UX issues and startup lag, Flash due to it simply being a divergent technology from the web itself.
- AnIdiotOnTheNet 8y agoThe difference is largely irrelevant. Browsers could have easily decided to integrate a JVM, they just never did. And Flash was ubiquitous.