Content deleted Content added
No edit summary |
cleanup |
||
Line 27:
| wikibooks =
}}
'''Dart''' (originally called '''Dash''') is a web [[programming language]] developed by [[Google]]. It will be unveiled at the [http://gotocon.com/aarhus-2011/ GOTO conference] in Aarhus, 2011 October 10-12.<ref>[http://gotocon.com/aarhus-2011/presentation/Opening%20Keynote:%20Dart,%20a%20new%20programming%20language%20for%20structured%20web%20programming 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.</ref> The goal of Dart is to replace [[JavaScript]] as the main built-in scripting language in [[web browsers]].
== Reason for a new Language ==
Dart is trying to solve JavaScript's problems (which, according to a leaked memo,<ref>[https://gist.github.com/1208618 "Future of Javascript" doc from our internal "JavaScript Summit" last week] - Leaked internal Google email]</ref> 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.<ref name="GOS20110913">[http://googlesystem.blogspot.com/2011/09/dash-googles-alternative-to-javascript.html Google Operating System: Dash, Google's Alternative to JavaScript]</ref> They are developing a [[Cloud computing|cloud-based]] [[Integrated development environment|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 [[Type system|typed]] [[Google Closure Tools|Closure]] code to Dart.<ref>[http://www.2ality.com/2011/09/google-dart.html Google Dart to “ultimately ... replace JavaScript”]</ref> Google will also integrate a native [[Virtual machine|VM]] into [[Google Chrome|Chrome]] and encourage competitors to do the same with their browsers. The Dart VM and Dart Cross Compiler could be available in late 2011.<ref name="GOS20110913"/>
== Example ==
<source lang="java">
main()
{ print('Hello, Dart!');
}
Line 48 ⟶ 53:
{{Google Inc.|corporate=yes|products=yes}}
[[Category:Google software]]
|