Will Google Dart Be Able To Replace JavaScript

0 Flares 0 Flares ×

Google has unveiled Dart a new client side scripting language this week at GOTO Conference. Dart has been designed for quick prototyping and compatibility across multiple browsers and platforms. Google is having a hope that Dart will be a standard in every modern browsers. As we all know that currently JavaScript is used as the client side scripting language for performing various interactive actions. But the question is that do we need one more client side scripting language to compete with JavaScript?

JavaScript was introduced in 1995 since Netscape Navigator 2.o came into picture. Since then almost all browsers have integrated JavaScript engine into them. But now Google wants to replace JavaScript with Dart as the standard client side scripting language.


Technical Features Of Dart   

Dart is a new class-based programming language for creating structured web applications. Developed with the goals of simplicity, efficiency, and scalability, the Dart language combines powerful new language features with familiar language constructs into a clear, readable syntax.

Key Features Of Dart

Key features of the Dart language include:


Classes and interfaces provide a well understood mechanism for efficiently defining APIs. These constructs enable encapsulation and reuse of methods and data.

Optional types

Dart programmers can optionally add static types to their code. Depending on programmer preference and stage of application development, the code can migrate from a simple, untyped experimental prototype to a complex, modular application with typing. Because types state programmer intent, less documentation is required to explain what is happening in the code, and type-checking tools can be used for debugging.


Developers can create and use libraries that are guaranteed not to change during runtime. Independently developed pieces of code can therefore rely on shared libraries.


Dart will include a rich set of execution environments, libraries, and development tools built to support the language. These tools will enable productive and dynamic development, including edit-and-continue debugging and beyond—up to a style where you program an application outline, run it, and fill in the blanks as you run.

This looks like very similar to general programming language so there will not be any difficulty in learning this language. Google is very much ambitious about this Dart language. According to Google Dart will be highly fast, safe and smooth. 

So how do you execute a Dart code

At present as the browsers do not have support for Dart so you can execute Dart in several ways as described below:

  • Translate Dart code to JavaScript that can run in any modern browser:
    Chrome, Safari 5+, and Firefox 4+ (more browser support coming shortly).
  • Execute Dart code directly in a VM on the server side
  • Use Dartboard to write, modify, and execute small Dart programs within any browser window
In test carried out a Dart program of about 55,000 lines code was loaded in 60 millisecond. So that proves as Google says it is faster. But do we really need a new client side scripting language? Your comments are highly appreciated.



+Ayodhyanath Guru holds a B.Tech degree in Electrical Engineering and has worked with various prestigious clients in the IT industry and presently working as a Software Engineer. He is a part time blogger and presently authors the Jafaloo.Com blog. Being a tech enthusiast Guru likes to surf the web and blogs about interesting technical topics like How-To guides, freewares, Tutorials, Software, Gadgets, web applications etc. Apart from blogging he likes coding in Java/J2EE and PHP.

You may also like...

1 Response

  1. Skytree21 says:

    I support google dart. javascript is old enough to be changed. for html5 new replacement is needed in client side. thanks to dart, more complicated and sophisticated app can be developed without any kind of plug-in or activex.

    i really hope ~~

0 Flares Twitter 0 Facebook 0 Google+ 0 LinkedIn 0 0 Flares ×