Why not bring SIMD to Lua or Python? Or Lisp, or Haskell? Why not just bring SIMD on the web to anyone who wants it?
Will we have to explain to our grandchildren why they can only write code in some flavor of Javascript? Will it make sense, then, to wave our hands at ActiveX? Or do we have any better ideas for the future?
Mozilla's mission to protect the web from all languages but Javascript is locking us into a future where there will be no choice and nothing better than Javascript, because there will be neither an audience nor hardware support for anything but Javascript.
> Will we have to explain to our grandchildren why they can only write code in some flavor of Javascript?
No, because while JavaScript is the "common" language of the web, its not the only language you can code in on the web -- there are plenty of implementations of other languages with it as a compilation target.
The value of having a guaranteed-to-be-everywhere target language for the web, even if it isn't the preferred development language of every developer, are fairly obvious.
> Mozilla's mission to protect the web from all languages but Javascript is locking us into a future where there will be no choice and nothing better than Javascript
As long as JavaScript keeps getting better -- and, particularly, as long as it is spurred on in that by efforts which propose alternative standard languages for the web with compelling stories so that JS has to keep moving forward in order to be acceptable as the universal, guaranteed target language -- that's fine. "Nothing better than JavaScript" isn't a real limitation if JavaScript is a moving target.
> "Nothing better than JavaScript" isn't a real limitation if JavaScript is a moving target
JS is only a "moving target" in the sense that stuff is being added to it. If you could make a perfect language by just adding things, then we'd be fine.
But the nature of the language itself is not going to change, because that would break backwards compatibility. The type system, prototype inheritance, `this`, type coercions, etc. There are plenty of undesirable things in JS which we're stuck with (unless we break compatibility, in which case it might as well be a different language).
>>No, because while JavaScript is the "common" language of the web, its not the only language you can code in on the web -- there are plenty of implementations of other languages with it as a compilation target.
They either have to bring SIMB to every language or to none at all?
They want to improve web application performance. JavaScript is the only language that works on the web. So they are bringing it to JavaScript. That doesn't mean they won't bring it to other languages in the future.
It doesn't make sense to improve HTML5 game performance by bringing SIMD to Lua or Python.
Because the more effort put into improving JavaScript performance, the more entrenched something terrible yet ubiquitous becomes, and the less chance we get of replacing it with something that is not a cyclopean horror?
Personally, I think its a good thing that JS gets SIMD support -- since Dart has it, and it would be better if the discussion over whether a new standard language to replace JS was needed was over language fundamentals, not one competitor or the other missing useful features that aren't part of the fundamental language structure.
You can always escape the "JavaScript lock-in" with a compile-to-JavaScript language. Thanks to asm.js and related performance improvements, you can even compile a "JavaScript binary" that looks nothing like vanilla JavaScript but is still fast.
Will we have to explain to our grandchildren why they can only write code in some flavor of Javascript? Will it make sense, then, to wave our hands at ActiveX? Or do we have any better ideas for the future?
Mozilla's mission to protect the web from all languages but Javascript is locking us into a future where there will be no choice and nothing better than Javascript, because there will be neither an audience nor hardware support for anything but Javascript.