3 ms·
Come on. VBScript and Flash? Really? What I meant and you pretend to not understand is that there is no way to use another language just like you use Javascript
by VeejayRampay 13y ago
Come on. VBScript and Flash? Really? What I meant and you pretend to not understand is that there is no way to use another language just like you use Javascript when scripting a web application. I can't open a console and go
@document.query_selector_all(".fancy").each do |element|
...
end
I find that annoying. That a few companies have tried to introduce proprietary extensions is another topic, it doesn't mean that there is a real choice for developers.
The point is that some people decided some time ago that scripting the web and accessing everything browser-ish (DOM, Canvas, SVG, WebSockets, Web Workers, etc.) meant Javascript and that was it. The lack of choice and variety at hand is absolutely ridiculous. In no other software space would people tolerate to be forced into a technology like that.
- cbsmith 13y ago> That a few companies have tried to introduce proprietary extensions is another topic, it doesn't mean that there is a real choice for developers. I spoke in the past tense because those were choices available to developers... JavaScript seems to have won out as a preferred choice. EMScripten opens up a lot of possibilities though... > In no other software space would people tolerate to be forced into a technology like that. I think history would beg to disagree.
- annasaru 13y agoGood arguments. We had silverlight, and Adobe Air / Flex that may or may not have been trying to displace JS - but they were ways to program in the Browser. Sure they were put forward as solutions by companies that had an agenda. Such a language also is dependent on HTML-standards. We should see interpreters for other languages written in JS - or is that far fetched?
- auvrw 13y ago> We should see interpreters for other languages written in JS - or is that far fetched? there is a scheme interpreter, of course. someone compiled cpython to javascript using llvm and posted results a few weeks ago. too lazy to find links