Google Unveils Dart Programming Language
Google officially launched its new programming language, Dart, last week during the opening keynote presentation at the GoTo conference in Denmark. An early preview of the new structured Web programming language is described on the newly launched Dart Web site, which provides a technical overview, language specifications, library reference and code samples. The Web page and the spec document warn users that Dart is still a work in progress, to expect the language rules to change over time and to mail comments to Google engineer Gilad Brocha.
Brocha and fellow Google engineer Lars Bak unveiled Dart during the conference. Writing in the Google Code Blog, Bak, explained, "Dart targets a wide range of development scenarios: from a one-person project without much structure to a large-scale project needing formal types in the code to state programmer intent. To support this wide range of projects, Dart has optional types; this means you can start coding without types and add them later as needed. We believe Dart will be great for writing large Web applications."
In the Google specification document, the company describes the language as a class-based, single-inheritance, pure object-oriented programming language. It's optionally typed and supports reified generics and interfaces. Programs developed with Dart may be statically checked, and the static checker will report some violations of the type rules, but "such violations do not abort compilation or preclude execution," according to the spec doc.
Google created the Go programming language in 2009 for its own internal use. That language was developed as an alternative to existing system implementation languages (C++, Java, Python), which Google found either overly complex, slow to compile, or slow in production. Google hasn't evangelized Go, but is likely to pull out all the stops for Dart.