news4geeks.net
26Jan/120

What JavaScript’s inventor really thinks about Google Dart

Google's Dart language, which attempts to address JavaScript's supposed weaknesses, is getting a mixed reaction from the inventor of JavaScript itself, Brendan Eich.

While admiring Google's efforts to make the Document Object Model more usable as part of Dart, Eich was skeptical about its chance for support in browsers. "Dart is one of the many languages that currently compiles to JavaScript, and that's a lot to say about that because like in Native Client from Google, I don't think Dart is going to be natively supported ever in other browsers. Not in Safari, not in IE (Internet Explorer)," said Eich, who is CTO at Mozilla, at the Node Summit conference in San Francisco on Wednesday. JavaScript has been supported in popular browsers, including Mozilla's own Firefox browser.


Google has argued that while JavaScript is good for building simple Web applications, it has its shortcomings in maintaining structure as a program grows. Dart attempts to address this.

Eich also was not optimistic that JavaScript would be extended to support native code. While saying this type of integration could benefit C++ games developers port to the browser, Eich again doubted browser vendors would back it. He cited Google's Native Client as an effort in this vein, using a safety-checking compiler, running native code in a sandbox, and leveraging "a runtime full of APIs." But he said Microsoft and Apple would not use that compiler. "The second problem is that big fat set of APIs is tied directly into the [Google] Chrome browser. They're not APIs that are based on standards. There's some of them based on WebKit, some of them based on Chrome code. You can't get those APIs out of IE, you can't get them out of Safari." For Mozilla in particular, its mission is to make the Web better and make JavaScript better so it can talk to all the hardware, Eich said.

Eich also stressed a need for JavaScript tooling and sees that happening. He cited Adobe's embracing of HTML5 as an example of a tooling effort for JavaScript.

Additionally, Eich said an improvement intended for ECMAScript 6, the planned next version of the JavaScript base standard, would address an issue with programming errors made in the strict mode in ECMAScript 5. "The next version will in certain contexts make those be ahead-of-time errors, so when you load your code, it doesn't even run. You get a hard error." ECMAscript 6 is due for adoption in 2013, according to Eich.

(Source: infoworld.com)

 

Google says it had Sun’s full support in building Android
Google built Android using parts of Java that didn't require a license and it had the full support of Sun Microsystems in doing so, a lawyer for Google ...
READ MORE
Google leaves Android App Inventor to the open source community
Last month's surprising closure of Google Labs may have its first significant casualty: Google has announced it is ending support for App Inventor for Android, but the company is ...
READ MORE
Google Labs to be shut down
Google has decided to close its Labs initiative as part of the company's efforts to streamline its product portfolio and focus its development efforts. The Google Labs website hosts early ...
READ MORE
Google’s new weapon in the Android upgrade battle
We may not be exploring a new version of Android this week, but don't think for a minute that we left Google's I/O developers' conference empty-handed. While Google didn't give us ...
READ MORE
Google has amended the policies of its Play app store for Android to prohibit third-party app update mechanisms, in a move seemingly designed to put the kibosh on ...
READ MORE
Google says it had Sun’s full support in
Google leaves Android App Inventor to the open
Google Labs to be shut down
Google’s new weapon in the Android upgrade battle
New Google Play terms ban non-store app updates

Comments (0) Trackbacks (0)

No comments yet.


Leave a comment

Trackbacks are disabled.