News for hackers. Stuff that matters.
Re:JavaScript is Web Assembly Language and that's OK. by JonSkeptic on Friday May 24, 2013 @09:08AM (#5762443)
Agreed, but there are numerous alternatives that compile easily to assembly without ridiculous amounts of set up and prayer. We can program in C, C++, Python, Ruby, Java, any number other languages that will ultimately all be executed in the exact same fashion, barring some technical differences.

This does not exist for Javascript. You can jump through hoops to compile other code to Javascript and hope that it works and works acceptably, that's it.

Javascript isn't assembly, it's the only language and it's terrible.

Re:JavaScript is Web Assembly Language and that's OK. by jiggy2011 on Friday May 24, 2013 @09:18AM (#5762486)
Isn't this what asm.js attempts to provide? With mature tooling it should be possible to code in whichever language and compile or run on top of a VM which itself runs atop asm.js without having to worry about the underlying JS much at all (unless you want serious optimisation).

It wouldn't surprise me if we eventually come full circle and discard the DOM entirely. Each web application is just a giant <canvas> with QT or something compiled to JS providing the UI elements.

Re:JavaScript is Web Assembly Language and that's OK. by _pmf_ on Friday May 24, 2013 @09:28AM (#5762538)
> It wouldn't surprise me if we eventually come full circle and discard the DOM entirely. Each web application is just a giant <canvas> with QT or something compiled to JS providing the UI elements.

The shocking thing is that we are almost at a point where a solution that sounds as stupid as that is actually less contrived and complex than the current mess.

Re:JavaScript is Web Assembly Language and that's OK. by jnowlan on Friday May 24, 2013 @11:05AM (#5763230)
From a non-expert, but avid observer, this looks like where things are going. I support Mozilla, but wonder if this is a Hail-Mary pass, with something like Dart and Web components being the 'engineered' approach.

At this stage, if asm.js is to succeed, they need to show how us mortals can use it. I.e. it needs to part of a complete toolchain, or an ide.

asm.js using qt (without hacks) would be amazing. How do I help (when I can hardly wrap my head around it)?

Re:JavaScript is Web Assembly Language and that's OK. by jfb on Friday May 24, 2013 @10:15AM (#5762876)
The web is a lousy platform for featureful applications. There's no amount of polishing that's going to shine that turd.