What JavaScript's inventor really thinks about Google Dart
Brendan Eich says that Google's language is not likely to get browser support and that JavaScript itself probably would not be extended to support native code
InfoWorld - 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.
[ See InfoWorld's in-depth interview with Lars Bak, lead software engineer for Google Dart. | Subscribe to InfoWorld's Developer World newsletter for more on software development. ]
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.



- Excel 2010 Cheat Sheet
- Register for this Computerworld Insider Cheat Sheet and gain access to hundreds of premium content articles, guides, product reviews and more.
- Accelerate time to application value
- For your IT organization to keep pace with the business, you need a new, faster approach to infrastructure deployment-an approach that increases agility...
- The Keys to Distributed & Agile Application Development
- How leading firms are winning with strategies for efficient application development, without relying on co-location.
- ESG: Defining Tier One Storage in the Modern Data Center
- This report defines "tier-1" storage in the modern IT world and in the data centers and services that support it. What was a...
- ESG: Using HP's Converged Storage to Develop/Enhance Business Resiliency in VMware Environments
- In this report, Enterprise Strategy Group reviews how HP's portfolio of hardware, software, and services can provide the foundational support for VMware environments....
- HP 3PAR Storage Systems Designed for Mission Critical High Availability
- In this technical whitepaper, learn how HP 3PAR Storage Systems have been designed to deliver 99.999% and greater availability, bringing new possibilities to... All App Development White Papers
- Reduced TCO for Communications Applications with New Oracle SPARC Servers
- In this webcast learn how Oracle's new SPARC T4 servers and SPARC Supercluster deliver the security, performance, and scalability required for 4G network...
- The Higher-Bandwidth, Lower-Cost Connection of Choice: 10GBASE-T LAN on Motherboard
- Learn how Expedient, a cloud provider, is using 10 Gigabit Ethernet to boost its services and rein in costs.
- Banish Poor Application Performance
- End User Experience, 30-Min Webinar
Wed. March 21st ~ 11 AM ET
Are you ready to gain the proactive ability to rapidly respond... - Virtualization KnowledgeVault
- Virtualization initiatives are underway at most small and midsize businesses, but some unexpected challenges have prevented many organizations from achieving original goals. This...
- Mobility KnowledgeVault
- How "mobile ready" is your infrastructure? This Mobility Knowledge Vault provides a wide variety of expert advice on how to strike a balance... All App Development Webcasts