Negociate with other major browsers maufacturers over a common IL
I think Microsoft, Google and Mozilla should find a table where to sit together and develop a common IL for their browsers. I'm tired of being trapped in javascript and this will leverage a whole lot of languages flavors to be used on the browser scripting side. Furthermore it will be probably easier to cross-browse, to keep a background compatibility and to address security and it will enhance, for sure, the productivity. The learning curves for programmers coming from different languages - that would find something more familiar to work with - will decrease, also the attraction to the client-side coding.
I think that if half of the effort spent in developing more and more libraries for javascript, to make it decent, would be spent in this direction, in a very short time the VM's for all the major browsers can be done over a common IL, and our chains will broke. It's absolutely abnormal to be forced to load tons of external libraries to make a language efficient, not to mention all criticism around javascript.
And, of course, one of the languages that will compile to this IL should be javascript.
Is it so impossible?

6 comments
-
Rafał Nowak commented
Look up WebAssembly.
-
Anonymous commented
I welcome this idea
-
GT commented
Why do we need that, there is already a processor and that processor has instructions already :)
The Desktop JavaScript is transformed to real processor instructions that run very well on the desktop and utilize all what can utilize, and the mobile JavaScript compiled for the mobile processor which is a bit more limited
Why do we have to select the slowest and most limited processor? (common IL)
-
Mike-EEE commented
+1 to the comments so far. Related vote (from MSFT's/.NET's side, at least): http://visualstudio.uservoice.com/forums/121579-visual-studio-2015/suggestions/10027638-create-a-ubiquitous-net-client-application-develo
-
Stijn de Witt commented
Javascript *is* that common IL.
Have a look at Babel (https://babeljs.io/) and other 'transpilers'. There are many languages that can be transpiled to Javascript these days... And with ES2015 and 2016 on the horizon the future for JS itself is also looking very good.
-
Jason Bock commented
I absolutely agree with this. There's already something in the works called WebAssembly that should accomplish what you're talking about:
https://github.com/webassembly
There's also a IL to WASM compiler, though that hasn't been touched in a couple of months: