Sign in with
Sign up | Sign in

Google Introduces JavaScript Alternative Called DART

By - Source: Google

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.

There are 30 Comments. B
Top Comments
  • 18
    igot1forya , October 11, 2011 9: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
    amk-aka-Phantom , October 11, 2011 9: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
    TunaSoda , October 11, 2011 9:19 PM
    ok...
  • 3
    techseven , October 11, 2011 9:20 PM
    Do we need another scripting language? I wonder....
  • 18
    igot1forya , October 11, 2011 9: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
    amk-aka-Phantom , October 11, 2011 9: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
    javaskull , October 11, 2011 9:39 PM
    techsevenDo we need another scripting language? I wonder....


    Javascript SUCKS so yes.
  • -5
    anonymous@guest , October 11, 2011 9: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
    koga73 , October 11, 2011 10: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
    bgaimur , October 11, 2011 10: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
    ravewulf , October 11, 2011 10: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
    kaisellgren , October 11, 2011 10: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
    captaincharisma , October 11, 2011 11: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
    soundping , October 11, 2011 11:26 PM
    Another door for viruses to knock on.
  • 4
    drchemist , October 12, 2011 12:00 AM
    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
    killerclick , October 12, 2011 12:18 AM
    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
    killerclick , October 12, 2011 12:25 AM
    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
    gm0n3y , October 12, 2011 1:17 AM
    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
    anonymous@guest , October 12, 2011 1:49 AM
    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
    Kamab , October 12, 2011 3:21 AM
    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
    classzero , October 12, 2011 3:30 AM
    techsevenDo we need another scripting language? I wonder....


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