Live data from Hacker News

Dart 1.0 Is Out

news.dartlang.org

21–30 of 162 posts

Re: Dart 1.0 Is Out

#21
post #12

So if i get it right, the way "Google" sees the future, there is Go at the server side and Dart at client side (which is in fact JS). Am I wrong? I would expect Google, or at least, a team at Google, to take over NodeJS which is based on their V8 and expand it to universal server client language and libs. JS can be complied into go binaries after all, so why not letting people write apps using the same language. Let…

The point of view within Google that spawned Dart is that JavaScript as a language has major and unfixable flaws that severely raise the cost of developing large apps. It's nice that node.js uses V8, but being based on a Google project does nothing to address the language issues.

Note that that point of view is not universally shared at Google, and many people are fine with JavaScript, and probably would use node.js.

Re: Dart 1.0 Is Out

#22
post #12

So if i get it right, the way "Google" sees the future, there is Go at the server side and Dart at client side (which is in fact JS). Am I wrong? I would expect Google, or at least, a team at Google, to take over NodeJS which is based on their V8 and expand it to universal server client language and libs. JS can be complied into go binaries after all, so why not letting people write apps using the same language. Let…

I believe Google is using Go for completely different projects (i.e. fast backend services that don't really interact with the browser).

Re: Dart 1.0 Is Out

#23
post #14
post #9

Just waiting for "Works best on Chrome" Silverlight and ActiveX have already shown the usefulness of proprietary enhancements. No thanks.

It compiles to JavaScript. The VM and dart2js are MIT licensed. It's not the same situation.

And Dart is not a plugin, it gives you the whole DOM (though a _much_ improved API), unlike Silverlight, ActiveX, Flash, Java or any other plugin.

Re: Dart 1.0 Is Out

#24
post #17

This is really awesome! Congrats to the team! We have a ton of JavaScript/CoffeeScript code and I really wish we could use something like Dart. JavaScript is great for smaller projects, but once you get a ton of code it really becomes a unmanageable mess. I think tho' it would be amazing if Dart could run on the server side as well. This way you could just have one language on both the client and the server.

If you are looking for a structured language (for front end dev), Typescript is a better alternative imho. Javascript devs can still read it and it's compatible with any JS library out there.

Dart not so much since the semantics are different.You can still interact with JS libs but it's not as straight foward as TS.

I tested a number of options (GWT,Haxe,CS,Dart,Opal,Jsx,...),while i'm not a Microsoft fan(by a long shot),Typescript is the solution that allows the best integration with legacy code and pure JS libraries,while making easy to port old java/C#/as3 code to JS.

Re: Dart 1.0 Is Out

#26
post #24
post #17

This is really awesome! Congrats to the team! We have a ton of JavaScript/CoffeeScript code and I really wish we could use something like Dart. JavaScript is great for smaller projects, but once you get a ton of code it really becomes a unmanageable mess. I think tho' it would be amazing if Dart could run on the server side as well. This way you could just have one language on both the client and the server.

If you are looking for a structured language (for front end dev), Typescript is a better alternative imho. Javascript devs can still read it and it's compatible with any JS library out there. Dart not so much since the semantics are different.You can still interact with JS libs but it's not as straight foward as TS. I tested a number of options (GWT,Haxe,CS,Dart,Opal,Jsx,...),while i'm not a Microsoft fan(by a long s…

That the semantics are different from Javascript is one of the big selling points of Dart. :)

Re: Dart 1.0 Is Out

#27
post #18

Would someone who knows HTML/CSS/RoR better of learning Dart or JS next?

Even if you use language X that compiles to javascript ,you still need to learn javascript, Or it's a bit like learning rails without understanding ruby.

No, Dart is not CoffeScript.

It really compiles, so you don't have to worry about it. The languages are so similar that stuff that is fast in Dartium will work pretty fine in JS.

Re: Dart 1.0 Is Out

#28
post #25

How's the Emacs mode?

The one I am using (and I don't even remember which one it is or if there are multiple ones) does basic highlighting. There is no re-factoring support that I could find yet.

Re: Dart 1.0 Is Out

#29
post #9

Just waiting for "Works best on Chrome" Silverlight and ActiveX have already shown the usefulness of proprietary enhancements. No thanks.

> Just waiting for "Works best on Chrome"

Can't wait. I am already using Chrome, if it works best I'll like it even more.

> Silverlight and ActiveX have already shown the usefulness of proprietary enhancements.

So how do I compile Silverlight to .js again?

> No thanks.

Yes please!

Re: Dart 1.0 Is Out

#30
post #9

Just waiting for "Works best on Chrome" Silverlight and ActiveX have already shown the usefulness of proprietary enhancements. No thanks.

JavaScript was also build as proprietary enhancement :)
Post reply on HN