3 ms·
Yes, read the browser docs, many browsers support languages other than JS. However, if the browser only supports a given language than the final target must be
by fleitz 10y ago
Yes, read the browser docs, many browsers support languages other than JS.
However, if the browser only supports a given language than the final target must be that language, similar to how only machine code executes of a CPU, everything else is just a turing machine emulating another turing machine.
- coldtea 10y agoWhere many = IE, and other languages = VBScript (if that's even supported anymore)? Because that's the only actual and in use browser I can think of that supports a language other than JS natively.
- fleitz 10y agoChrome supports ActionScript natively, as well as C++
- coldtea 10y agoNo, it doesn't support either. ActionScript is only supported through the Flash plugin, and inside the Flash environment -- and even that is taken out altogether in the new Chrome release. C++, not at all. Except if you mean Chrome is written in C++ itself, or you can use Native Client, which again is another plugin like environment. So, nothing similar to JS at all. Might as well have mentioned emscripten, which does end up running as a web page.
- fleitz 10y agoIf you install Chrome it supports these things, that's 'native' to me. Does it act like JS? No, but its still native.