Google previews Dart, alternative to JavaScript
Lars Bak, a programmer and project leader on Dart detailed the new language in a talk at the Goto Conference in Denmark as well as a blog post online.
Dart is apparently capable of dealing with small, unstructured projects, right the way up to large complicated programs such as Gmail and Google Docs according to Bak.
Bak went on, “If we want to focus on making the Web better over time, we have to innovate, including with new programming languages.”
Dart is not seen as a replacement to JavaScript however, it plans to be an alternative available to those who would prefer something over the tried and tested JavaScript. “It’s not going to replace JavaScript,” Bak said. “JavaScript is a cornerstone of the Web today, and it will continue to be for a long, long time.”
Google is evaluating the best way to integrate Dart directly into Chrome, something that would enable new features such as “Snapshotting”, which allows web applications to load much faster than previously thanks to a “sterilisation” process where the application is condensed into a single block of data.
In one test, a 55,000-line Dart program loaded in 60 milliseconds, compared to the 640 milliseconds it took without snapshotting.
Read the full story over at: Cnet.