The Astonishing Rise Of Dart
Written by Mike James   
Monday, 13 October 2014

If the signs are to be believed Dart, Google's JavaScript replacement is shooting up the popularity stakes. Should Dart be the next language you learn?

Dart is a fairly boring language. It is a single-inheritance, object-oriented language in the style of Java, C# etc, but with optional typing and first class functions. Some aspects of the language make compiling it to JavaScript easier. 

 

googledart

 

How to run Dart is the language's biggest question. You can compile it to JavaScript, but this puts it in the same category as languages such as CoffeeScript that do the same thing. There is also the issue of what browsers the dart2js compiler supports - no IE before version 9 and only the latest Chrome and Firefox.

If you want to run it natively in a browser  your only choice is Chrome and even then you can't use a standard edition. Rather you need the Dartium version that comes with the Dart code editor. 

It has been generally thought that for Dart to be adopted it would have to be approved by the other big browser makers, and so far this has looked very unlikely. Indeed Microsoft, Apple and elements of Mozilla have criticised Dart for diluting the efforts being made to improve JavaScript. There has also been a lot of suspicion about Google's motives in creating an alternative to the web's de facto standard language.

On the plus side, Dart has made some recent steps toward looking more attractive. In July of this year ECMA issued a standard for the language, which is reassuring in that Dart isn't just Google's language any longer. The dart2js compiler was initially judged as slow but the latest version creates code that runs faster than handcrafted JavaScript. Finally, in June, the Chrome Dev Editor made it much easier to get started writing Dart apps. Suddenly Dart looked like a good candidate for web apps and Chrome apps.

It is difficult to say whether any of these developments is the cause of the astonishing change in this month's Dart TIOBE index. After showing only small pulses of interest since its introduction in late 2011, Dart has suddenly entered the top 20 languages at number 17 after a rapid and sustained spike starting at the end of July 2014. To give you some idea of where this places the language, its TIOBE ranking is better than F# and close to Ruby. From nothing much to being as popular as Ruby means you probably need to take notice of Dart in the future.

Take a look at the way the index has changed:

 

darttiobe

 

Of course there are all of the usual caveats about the TIOBE index, but no matter what you think is being measured, something clearly happened at the end of July. It is so unusual that the thought that someone might be gaming the TIOBE index does occur. 

As an interesting coda, it is also worth mentioning that a suggestion on the UserVoice forum to the Microsoft IE team is that a Dart VM be added to Internet Explorer. Although this suggestion has only been up for a week it already has over 1500 supporting votes together with lots of negative comments. A similar suggestion that the team should support ASM.js has fewer votes. Given Microsoft's tendency to ignore any such proposal that doesn't fit in with its prevailing opinion, this doesn't mean anything much will happen. 

I don't think that it's time to learn Dart or to take it any more seriously, but it is time to start to monitor its progress more carefully.

dartlogo

More Information

TIOBE Index

UserVoice IE

Related Articles

Chrome Dev Editor Now Available       

Ecma Approves Dart        

Dart 1.5 Released 

Google Dart SDK 1.3 Gives Faster Async

Dart + Chromium = Dartium

 

 

To be informed about new articles on I Programmer, install the I Programmer Toolbar, subscribe to the RSS feed, follow us on, Twitter, FacebookGoogle+ or Linkedin,  or sign up for our weekly newsletter.

 

Banner


Meta Releases OpenSource Podcast Generating Tool
28/11/2024

Meta has released an open source project that can be used to automatically convert a PDF file into a podcast. Meta says Notebook Llama can be considered an open-source version of Google's NotebookLM.

 [ ... ]



Uno Announces Platform Studio
19/11/2024

Uno has announced Uno Platform Studio, a suite of productivity tools featuring Hot Design, which they describe as a next-generation Visual Designer for .NET cross-platform apps.


More News

 

espbook

 

Comments




or email your comment to: comments@i-programmer.info

 

Last Updated ( Monday, 13 October 2014 )