Linked by Thom Holwerda on Mon 10th Oct 2011 20:14 UTC, submitted by twitterfire
General Development "Google has released an early version of Dart, a new programming language designed to take some of the pain out of developing applications for the Web. But while it's an evolutionary improvement on JavaScript, Dart faces a hard uphill battle for acceptance."
Permalink for comment 492446
To read all comments associated with this story, please click here.
js
by vivainio on Mon 10th Oct 2011 20:57 UTC
vivainio
Member since:
2008-12-26

Main problem with Dart is that it's not an evolutionary improvement on Javascript, it's an all new Virtual Machine.

So, none of your old js code will run with your new Dart code.

IMO, how google should have implemented this would have been to add optional type tracking in their v8 js engine optimization paths, and provide a thin frontend that turns dart language to javascript + extras.

This way, you could intermingle Dart and JS code freely.

I am a bit underwhelmed about Dart because google took this route. We already have CoffeeScript that is a great language that directly maps to JS code (but eliminates "function" keyword, has list comprehensions from python, has classes, etc.). CoffeeScript works seamlessly with JS code - can run it, can get run by it.

Reply Score: 6