3 ms·
I don't think you understand the proposal: JavaScript would still be the language of the web. The things you don't see would just be handled differently. In fa
by scott_s 16y ago
I don't think you understand the proposal: JavaScript would still be the language of the web. The things you don't see would just be handled differently.
In fact, it would be easier to to "find out wtf it's doing" because something that is now ad-hoc - what to do with the JS given to a browser - would be standardized. Keep in mind that the browsers already do something to your JS, either compile it to byte-code for the browsers own VM, or compile it directly to machine code. This proposal would standardize what the intermediate representation would be.
- robhu 16y agoNo, the idea is that you could compile whatever language you like into byte code that would then run in the browser. Javascript might still be the main language on the web (and would probably continue to be handled in the same way it is now) but you could also use other languages.
- scott_s 16y agoFor reasons that silentbicycle presents elsewhere in this thread, that goal is quite difficult. The benefits I mentioned above would be true even if no other languages compiled down to the standardized byte-code - we'd have the above benefits first.