Sign in with
Sign up | Sign in

Google Introduces JavaScript Alternative Called DART

By - Source: Google | B 30 comments

Google today introduced a preview of Dart, a class based programming language that the company hopes will be used for the development of web applications.

Google said that Dart has the goals of providing a flexible, structured environment for app development, re-use familiar programming approaches to deliver a familiar and easy-to-learn programming language, as well as a toolset for "high-performance" apps that do especially well in web browsers.

To be executed, Dart code either requires a "native virtual machine" or it can be translated to JavaScript via a compiler that is driven by a JavaScript engine, which would defeat the purpose of a high-performance foundation that is clearly position to outgun JavaScript. The circumstance that Dart can shine through a virtual machine makes it somewhat comparable to Java, or other platforms that require additional tools and aren't supported directly by a browser - such as Flash or Silverlight. It isn't particularly easy pitching such an idea these days.

Dart is far from being complete at this time. Google said that it is currently providing basic libraries as well as tools for checking, compiling, and running Dart code. The platform will "evolve further" with developer participation, Google said.

Display 30 Comments.
This thread is closed for comments
Top Comments
  • 18 Hide
    igot1forya , October 11, 2011 2:30 PM
    techsevenDo we need another scripting language? I wonder....

    If they can make it more secure, fast and easy to program, then yes. Anything that advances these attributes I'm for.
  • 10 Hide
    amk-aka-Phantom , October 11, 2011 2:31 PM
    Damn, another programming language... it's gotta be hard to keep up with all of them, I guess. Then again, some people say that once you grasp the general concept of programming, all you need to do to learn the new language is remember the syntax.
Other Comments
  • -4 Hide
    TunaSoda , October 11, 2011 2:19 PM
    ok...
  • 3 Hide
    techseven , October 11, 2011 2:20 PM
    Do we need another scripting language? I wonder....
  • 18 Hide
    igot1forya , October 11, 2011 2:30 PM
    techsevenDo we need another scripting language? I wonder....

    If they can make it more secure, fast and easy to program, then yes. Anything that advances these attributes I'm for.
  • 10 Hide
    amk-aka-Phantom , October 11, 2011 2:31 PM
    Damn, another programming language... it's gotta be hard to keep up with all of them, I guess. Then again, some people say that once you grasp the general concept of programming, all you need to do to learn the new language is remember the syntax.
  • 6 Hide
    javaskull , October 11, 2011 2:39 PM
    techsevenDo we need another scripting language? I wonder....


    Javascript SUCKS so yes.
  • -5 Hide
    Anonymous , October 11, 2011 2:42 PM
    bit0Is this a new country Called Google then?is so hungry....I don't like that at least by now.Graphics


    The word "Graphics is not my fault. Can't edit..."
  • 2 Hide
    koga73 , October 11, 2011 3:11 PM
    yes we need another programming language... javascript sucks balls its the worst language ever. lets just hope this or another language backed by a VM gains some traction.
  • 0 Hide
    bgaimur , October 11, 2011 3:41 PM
    Programming languages come out of necessity, not simply a dream of a new way of doing things. I wish something would de-Rail (pun intended) PHP.
  • -1 Hide
    ravewulf , October 11, 2011 3:48 PM
    It would be nice to have an object oriented programming language for the web, but I'd rather have it built into browsers than a plugin like Java. If it was going to be a plugin like Java, why not just use Java? (granted I haven't used Java with web pages so I don't know what it has to interface with the DOM)
  • 2 Hide
    kaisellgren , October 11, 2011 3:57 PM
    I would have wanted to see more innovation. It's boring and dull.

    For example, where's the great syntax of Go that allows you to do "foo := 5" where the colon : means that it will set the type based on the initial value.

    Where's the support for deconstructors? They added classes, but not Traits? Why the language requires all those braces, parenthesis, etc?

    How about an ability to slice strings like "foo bar"[3,5] ? What about generators and yielding? Jesus, don't take away those awesome ECMAScript RegEx literals!

    Complains aside, I do like the "_" private prefixes and the fact that you can have a "num type" that's basically two types together.

    If it performs fast and has a lower "startup", it does look interesting, but I wish they did more innovation.
  • 2 Hide
    captaincharisma , October 11, 2011 4:09 PM
    Igot1foryaIf they can make it more secure, fast and easy to program, then yes. Anything that advances these attributes I'm for.


    yes so as long as it is easy so the lazy and extremely amateur programmers will use it then why not
  • 1 Hide
    soundping , October 11, 2011 4:26 PM
    Another door for viruses to knock on.
  • 4 Hide
    drchemist , October 11, 2011 5:00 PM
    Hmmmm . . . Google makes Chrome and also Chrome books that only use web browsers without any real apps and they say, "Hey, here is another version of javascript that we developed. It's okay it is better, faster, and lets you make web based apps. It will move the internet to a better direction. It has nothing to do with pushing our Chrome OS and keeping our browser ahead of the game by controlling the languages development."

    I guess I just must be watching too much Pinky and the Brain. Google is so great they should make tons of apps so that I can use them for free. It's okay you can send adverts my emails, profile and web search info. I love you so much because you give me so much free stuff and know what is best for me. Google "The Silent Sheep Herder".
  • 0 Hide
    killerclick , October 11, 2011 5:18 PM
    Flop. Same as Silverlight, JSP, ColdFusion, Flex, Google Go, ... but Google has plenty of resources and I'm glad they're trying to innovate.
  • 1 Hide
    killerclick , October 11, 2011 5:25 PM
    bgaimurProgramming languages come out of necessity, not simply a dream of a new way of doing things. I wish something would de-Rail (pun intended) PHP.


    You can't deRail PHP because it's so easy, quick, dirty and so widespread. It's a programming language for people who hate programming and I love it.
  • 0 Hide
    gm0n3y , October 11, 2011 6:17 PM
    As someone that has to program in Javascript at least a few times a week, I'd LOVE to see it be replaced by a more modern language. There are some great libraries and methodologies that make JS more palatable (JQuery, etc), but at its core its still a terrible language to program in.
  • 0 Hide
    Anonymous , October 11, 2011 6:49 PM
    actually why do i feel this has more to do with Android then chrome.... app developers have been bitching about the java thing for a while now, i foresee a overhaul of the android app development scene in the not too distant future
  • 0 Hide
    Kamab , October 11, 2011 8:21 PM
    The people I know that do Web Development for a living use JQuery, because it handles Javascript support across more platforms. I'm curious to see if this catches on.
  • 3 Hide
    classzero , October 11, 2011 8:30 PM
    techsevenDo we need another scripting language? I wonder....


    Sure as long as I can disable this one too.
Display more comments