News for hackers. Stuff that matters.
Re:WebAssembly support now shipping in all major browsers by baybal2 on Tuesday November 14, 2017 @06:30AM (#15694186)
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.

Re:WebAssembly support now shipping in all major browsers by RX14 on Tuesday November 14, 2017 @06:38AM (#15694219)
There 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.
Re:WebAssembly support now shipping in all major browsers by baybal2 on Tuesday November 14, 2017 @06:56AM (#15694285)
> 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.

Re:WebAssembly support now shipping in all major browsers by eknkc on Tuesday November 14, 2017 @07:06AM (#15694337)
I 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.

Re:WebAssembly support now shipping in all major browsers by krapp on Tuesday November 14, 2017 @07:10AM (#15694353)
> 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.

Re:WebAssembly support now shipping in all major browsers by eknkc on Tuesday November 14, 2017 @07:33AM (#15694478)
Sorry, I forgot Hacker News, the representative of modern web development practices.
Re:WebAssembly support now shipping in all major browsers by krapp on Tuesday November 14, 2017 @07:28PM (#15700554)
Ok fair enough.

Hacker News and at least every Wordpress site. So that covers a significant portion of the existing web.

Re:WebAssembly support now shipping in all major browsers by MaxBarraclough on Tuesday November 14, 2017 @07:51AM (#15694553)
> 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.

Re:WebAssembly support now shipping in all major browsers by Vinnl on Tuesday November 14, 2017 @07:05AM (#15694328)
That option is about the same as it is today: you can access it, but it will be hard to follow. Just like minified Javascript.
Re:WebAssembly support now shipping in all major browsers by everheardofc on Tuesday November 14, 2017 @06:37AM (#15694217)
Webkit 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.
Re:WebAssembly support now shipping in all major browsers by eknkc on Tuesday November 14, 2017 @06:35AM (#15694210)
Having 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?
Re:WebAssembly support now shipping in all major browsers by grondilu on Tuesday November 14, 2017 @07:41AM (#15694506)
> 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/pldi2...