andrewducker: (Default)
[personal profile] andrewducker
[livejournal.com profile] robhu has a good point over here.

At the moment we write Javascript in web pages, which is then compiled down by the various JIT methods that Firefox/IE/Webkit use to make it super fast.

Seeing as what's run clearly isn't the actual JS itself, but bytecode, why not have a standardised bytecode that all browsers would support, which would then mean you could write your code in any language you liked, providing there was a compiler to convert it to the standardised bytecode?

At the moment Google uses GWT to convert Java into Javascript that then gets converted into the running code, (And MS used to have something similar) wouldn't it be handy if the intermediate step wasn't necessary?

Date: 2010-11-11 04:01 pm (UTC)
From: [identity profile] robhu.livejournal.com
Why give it access to browser internals? Just provide access to the things JS already has access to, like the DOM.

December 2025

S M T W T F S
 1 2 3 4 5 6
7 8 9 10 11 1213
14151617181920
21222324252627
28293031   

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Dec. 12th, 2025 09:01 pm
Powered by Dreamwidth Studios