3 ms·
Java applets 2.0, we are back to square one, yet again. People don't learn. The web dev community have just managed to force browsermakers to unify web develop
by baybal2 9y ago
Java applets 2.0, we are back to square one, yet again.
People don't learn. The web dev community have just managed to force browsermakers to unify web development on browser side JS, and throw Java applets, activex, and action script to the bucket, just to have a kind of JVM being made a part of the web standard, and forced upon us yet again.
- eknkc 9y agoHaving a unified VM with established sandboxing requirements is nothing like JVM. It's more like JavaScript itself, only lower level. What's bad about this?
- everheardofc 9y agoWebkit only has 10k LOC specific to WebAssembly because like every other browser it reuses the javascript JIT. That's an incredibly tiny part of the entire browser.
- RX14 9y agoThere are some clear and defining differences between Java applets and webassembly. The core problems with Java were that the security sucked, and that applets were non-native and didn't use the dom. I doubt there is any desire in web developers to overuse canvasses and do layout in wasm, and the security model should hopefully be as successful as JS's has been over the years.
- baybal2 9y ago> The core problems with Java were that the security sucked The core problem with Java applets was that they were Java applets An option to keep the source of the web app closed will fragment the web dev community yet again.
- MaxBarraclough 9y ago> An option to keep the source of the web app closed will fragment the web dev community yet again. But this changes nothing. It was always possible to obfuscate JavaScript, just like every other programming language.
- Vinnl 9y agoThat option is about the same as it is today: you can access it, but it will be hard to follow. Just like minified Javascript.
- eknkc 9y agoI don’t think there is a single web site with human readable javascript on the web anymore. With all the bundlers and minifiers manglers etc, delivered js is already as closed as a wasm binary would be.
- krapp 9y ago> I don’t think there is a single web site with human readable javascript on the web anymore. Meaningless hyperbole - there are plenty. You're posting on one right now.
- grondilu 9y ago> People don't learn. Do you? The comparison with Java has been made before, including on HN. "While Java and Flash [2] came early to the Web and offered managed runtime plugins, neither supported highperformance low-level code, and today usage is declining due to security and performance issues. We discuss the differences between the JVM and WebAssembly in Section 8. " https://github.com/WebAssembly/spec/blob/master/papers/pldi2017.pdf https://github.com/WebAssembly/spec/blob/master/papers/pldi2...