Google’s new Programming Language: Dart

Google has released a new programming language called Dart which is intended to replace JavaScript as the the lingua franca of web development on the open web platforms. Apparently there are certain issues in JavaScript that according to a leaked memo, cannot be solved by releasing newer versions. Google has taken this opportunity to release its own programming language which will offer better performance, will offer better tools for large scale projects and also has better security features while designing websites.


The engineers in Google are supposedly developing a cloud-based IDE(Integrated Development Environment) called Brightly, which will most probably be the first Dart application. Google will offer a cross compiler that compiles Dart to ECMAScript 3 for compatibility with non-Dart browsers. Google will also integrate a native Virtual Machine into Chrome and which should encourage other competitors to do the same with their browsers.

Given below is a program written with the Dart platform to calculate the nth Fibonacci number:

int fib(int n) {
  if (n <= 1) return n;
  return fib(n - 1) + fib(n - 2);

main() {
  print('fib(20) = ${fib(20)}');
[via CNET].

Leave a Reply

Your email address will not be published. Required fields are marked *