5 ms·
> I honestly can't see it staying king once browsers can support other languages. Theres no way this happens anytime soon. Google already tried that with Dart
by Igglyboo 12y ago
> I honestly can't see it staying king once browsers can support other languages.
Theres no way this happens anytime soon. Google already tried that with Dart and it failed.
- moron4hire 12y agoIt's funny how people forget that IE had supported multiple languages for a very long time: http://en.wikipedia.org/wiki/Internet_Explorer#Architecture http://en.wikipedia.org/wiki/Internet_Explorer#Architecture Internet Explorer does not include any native scripting functionality. Rather, MSHTML.dll exposes an API that permit a programmer to develop a scripting environment to be plugged-in and to access the DOM tree. Internet Explorer 8 includes the bindings for the Active Scripting engine, which is a part of Microsoft Windows and allows any language implemented as an Active Scripting module to be used for client-side scripting. By default, only the JScript and VBScript modules are provided; third party implementations like ScreamingMonkey (for ECMAScript 4 support) can also be used. Microsoft also makes available the Microsoft Silverlight runtime (not supported in Windows RT) that allows CLI languages, including DLR-based dynamic languages like IronPython and IronRuby, to be used for client-side scripting.
- Igglyboo 12y agoIE did but we're talking in the context of the web as a whole. An IE-only language in 2015 would be DOA.
- Touche 12y agoNo one forgot, it just failed like the parent's example of Dart.
- untog 12y agoRight. Any how widely used is that?
- pcwalton 12y agoGecko too for a while (because there was concern that VBScript would catch on, AFAIK), though it was eventually removed. The nsIProgrammingLanguage enum is the last vestige of this support: https://dxr.mozilla.org/mozilla-central/source/xpcom/base/nsIProgrammingLanguage.idl https://dxr.mozilla.org/mozilla-central/source/xpcom/base/ns...
- ahoge 12y agoMany of the bigger "JavaScript" projects aren't written in JavaScript. Browsers support any language. As long as they compile to JavaScript, that is. Also, Dart just works fine. Inside browsers as JavaScript and outside browsers in its own VM. This was written in Dart, for example: http://adsense.blogspot.com/2015/04/new-adsense-performance-reports.html http://adsense.blogspot.com/2015/04/new-adsense-performance-... You really don't have to use JS if you don't want to.