Download the Tom's Hardware App from the App Store
The reference for current tech news
Yes No
Ads

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.

Share:
30
Comments
X
Submit

Comments
Add your comment
TunaSoda 10/11/2011 4:19 PM
Show
techseven 10/11/2011 4:20 PM
Hide
-3+

Do we need another scripting language? I wonder....

igot1forya 10/11/2011 4:30 PM
Hide
-18+

techseven :
Do 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.

amk-aka-phantom 10/11/2011 4:31 PM
Hide
-10+

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.

Anonymous 10/11/2011 4:38 PM
Show
javaskull 10/11/2011 4:39 PM
Hide
-6+

techseven :
Do we need another scripting language? I wonder....



Javascript SUCKS so yes.

Anonymous 10/11/2011 4:42 PM
Show
koga73 10/11/2011 5:11 PM
Hide
-2+

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.

bgaimur 10/11/2011 5:41 PM
Hide
-0+

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.

ravewulf 10/11/2011 5:48 PM
Hide
--1+

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)

kaisellgren 10/11/2011 5:57 PM
Hide
-2+

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.

captaincharisma 10/11/2011 6:09 PM
Hide
-2+

Igot1forya :
If 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

soundping 10/11/2011 6:26 PM
Hide
-1+

Another door for viruses to knock on.

drchemist 10/11/2011 7:00 PM
Hide
-4+

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".

killerclick 10/11/2011 7:18 PM
Hide
-0+

Flop. Same as Silverlight, JSP, ColdFusion, Flex, Google Go, ... but Google has plenty of resources and I'm glad they're trying to innovate.

killerclick 10/11/2011 7:25 PM
Hide
-1+

bgaimur :
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.



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.

gm0n3y 10/11/2011 8:17 PM
Hide
-0+

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.

Anonymous 10/11/2011 8:49 PM
Hide
-0+

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

Kamab 10/11/2011 10:21 PM
Hide
-0+

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.

classzero 10/11/2011 10:30 PM
Hide
-3+

techseven :
Do we need another scripting language? I wonder....



Sure as long as I can disable this one too.

gmarsack 10/11/2011 11:06 PM
Hide
-1+

javaskull :
Javascript SUCKS so yes.


People who don't have a grasp of the power of JavaScript and who are poor programmers sucks. Poor programmers are the ones that make JavaScript suck.

samiup 10/11/2011 11:07 PM
Hide
-2+

no more virtual machines please...

cookoy 10/12/2011 1:31 AM
Hide
-0+

i hope it's not one of those free to use, free to develop now thing that eventually will turn to a pay a little fee to use and develop or else thing.

eddieroolz 10/12/2011 4:55 AM
Hide
-3+

And so begins Google's attempt to push web standards onto others, and engage in vendor lock-in.

Anonymous 10/12/2011 6:04 AM
Hide
-0+

google reminds me of skynet...you watch like in the terminator movies those bitches will try to take over!

ceteras 10/12/2011 1:28 PM
Hide
-0+

It'll never take off, and they will drop it.

jabliese 10/12/2011 3:45 PM
Hide
-0+

gmarsack :
Microsoft are the ones that make JavaScript suck.



Fixed that for ya.

WyomingKnott 10/13/2011 7:17 PM
Hide
-0+

drchemist :
Google "The Silent Sheep Herder".


I did. The only page that I found was this one. Did I miss something, or is this just a new kind of troll? Google "Fried lamps on toast"?

amk-aka-phantom 10/13/2011 7:30 PM
Hide
-0+

ceteras wrote :

It'll never take off, and they will drop it.




They said the same thing about Google Chrome. Don't you realise how much money Google has and how most of their services are 100% free (I haven't seen a paid one yet, but I think there're some)? They can afford ANYTHING. Hiring the best programmers to create a new language included.

claydavis 11/22/2011 2:23 PM
Hide
-0+

what is the field that Google has left out. What next Google

Ads

Best offers

Newsletters


OK
Ads