Dart (originally called Dash) is a web programming language developed by Google. It will be unveiled at the GOTO conference in Aarhus, 2011 October 10-12.[2] The goal of Dart is to replace JavaScript as the main built-in scripting language in web browsers.
Google Dart | |
---|---|
![]() | |
Paradigm | optionally typed |
Designed by | |
Developer | |
Preview release | 0.01[1]
/ October 10, 2011 |
Website | www |
Influenced by | |
Java, JavaScript |
Reason for a new Language
Dart is trying to solve JavaScript's problems (which, according to a leaked memo,[3] cannot be solved by evolving the language) while offering better performance (it's a design goal), the ability "to be more easily tooled for large-scale projects" and better security features.[4] Google engineers are developing a cloud-based IDE called Brightly, that will perhaps be the first Dart application. Google will offer a cross compiler that compiles Dart to ECMAScript 3 on the fly, for compatibility with non-Dart browsers. There will also be a facility to convert typed Closure code to Dart.[5] Google will also integrate a native VM into Chrome and encourage competitors to do the same with their browsers. The Dart VM and Dart Cross Compiler could be available in late 2011.[4]
Example
main()
{
print('Hello, Dart!');
}
See also
- Document Object Model (DOM) - a convention for representing and interacting with objects in HTML, XHTML, and XML documents
References
- ^ "Dart Programming Language Specification" (PDF).
- ^ Presentation: "Opening Keynote: Dart, a new programming language for structured web programming" - GOTO Aarhus 2011 conference. Planned official presentation of the Dart language, on October 10.
- ^ "Future of Javascript" doc from our internal "JavaScript Summit" last week - Leaked internal Google email]
- ^ a b Google Operating System: Dash, Google's Alternative to JavaScript
- ^ Google Dart to “ultimately ... replace JavaScript”
External links
- Official website
- Google Dart to “ultimately ... replace JavaScript”
- Presentation: "Opening Keynote: Dart, a new programming language for structured web programming" - GOTO Aarhus 2011 conference. Planned official presentation of the Dart language, on October 10.
- "Future of Javascript" doc from our internal "JavaScript Summit" last week - Leaked internal Google email.
- Infoq on Google Dart's feature set