Live data from Hacker News

Dart 1.0 Is Out

news.dartlang.org

41–50 of 162 posts

Re: Dart 1.0 Is Out

#41
post #37

I am a newbie in field of Web Development, and recently I felt in love with JavaScript, especially because of the sheer capability to write Client side and Server side code in same language. Thanks to Meteor.js, it made my bond with JavaScript even more stronger. But now with the buzz of Google Dart going around, I am afraid that, am I betting on the wrong horse? Is it the right to jump on Google Dart bandwagon? To b…

Honestly, JavaScript has orders of magnitude more usage and a lot more momentum than Dart does. I don't think you'll be harming your career prospects in becoming proficient in JS.

I also think there are better choices than Dart if you want to learn something that will expand your mind. Dart strikes me as a very practical language.

Re: Dart 1.0 Is Out

#42
post #37

I am a newbie in field of Web Development, and recently I felt in love with JavaScript, especially because of the sheer capability to write Client side and Server side code in same language. Thanks to Meteor.js, it made my bond with JavaScript even more stronger. But now with the buzz of Google Dart going around, I am afraid that, am I betting on the wrong horse? Is it the right to jump on Google Dart bandwagon? To b…

I have spent time with both Dart and with JavaScript + Meteor. Both are good stacks. If you are already up to speed on Meteor, why not just use that for a year, build applications, and maybe look at alternatives later.

It is probably best to start writing web apps, and not on learning many tools.

Re: Dart 1.0 Is Out

#43
post #16

Why doesn't Google include the native Dart VM in Chrome? I think it would boost it's usage significantly. Maybe I'm missing a bigger picture.

They need make some changes in Chrome for doing this right. They aim to make DOM nodes garbage collectible with project oilpan [1] AFAIK. Both Dart and V8 VM will benefit from this. So this will take some time. But Dart is already very useful with Dartium for development and Dart2Js for deployment.

[1] https://groups.google.com/a/chromium.org/forum/#!topic/blink...

Re: Dart 1.0 Is Out

#44
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…

I've done a project in Dart and another in TypeScript and like them both a lot more than doing straight JavaScript. I appreciate the optional type checking in both and the IDE support that each enables. TypeScript is appropriate if your project is more quickly completed with existing libraries like jQuery UI and needs to run on older browsers. Dart is appropriate if you don't need to use older established JS libs and IE9 and above are your target requirements. I like having them both in the toolbox, but I prefer Dart slightly more than TypeScript for various reasons.

Re: Dart 1.0 Is Out

#45
post #5

I think Dart has the potential to become a target for other languages [1]. The already-high-level code has a performant VM and it takes advantage of optional typing (unlike any other VMs I am aware of). In order to do so though, they should at least make a spawnString (like isolate's spawnUri) or even better, have the ability to JIT dart code by string but not execute it right away. 1 - https://www.dartlang.org/artic…

Adobe's AVM2 (ActionScript 3 VM) took advantage of optional typing. Once upon a time this was going to be the basis of ECMAScript4 via tamarin, but that never panned out for lots of reasons, most of them political.

Funny how things would be different today.

ES4 failed mainly because some people thought ES3 was good enough.

Adobe,harshly critized for Flash was the one pushing for a better javascript.

I will never understand why Microsoft basically killed ES4. They had their own implementation on .net ( JScript.net ) so it's not like it was going to be a huge effort. The only reason would be Microsoft pushing Silverlight at that time which was a huge flop. We basically lost a decade because of it, as i predict javascript will eventually look like ES4,that's inevitable.

Re: Dart 1.0 Is Out

#46
post #37

I am a newbie in field of Web Development, and recently I felt in love with JavaScript, especially because of the sheer capability to write Client side and Server side code in same language. Thanks to Meteor.js, it made my bond with JavaScript even more stronger. But now with the buzz of Google Dart going around, I am afraid that, am I betting on the wrong horse? Is it the right to jump on Google Dart bandwagon? To b…

I have spent time with both Dart and with JavaScript + Meteor. Both are good stacks. If you are already up to speed on Meteor, why not just use that for a year, build applications, and maybe look at alternatives later. It is probably best to start writing web apps, and not on learning many tools.

Thanks for the advise, I am thinking of concentrating on JavaScript + Meteor for now.

Re: Dart 1.0 Is Out

#47
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…

Assuming that Google has much of an overall strategy here is probably a mistake.

Re: Dart 1.0 Is Out

#48
Very happy to see efforts like this to bring new languages as alternatives to JavaScript.

I'm sorry but no amount of spin can convince me of ever liking JavaScript. Why can't we just admit that we're stuck with it for now because there are no viable alternatives? 5 years ago, people were ragging on it just as they do on PHP now. And now all of the sudden it's the poster child for good programming? Please.

Good news indeed. I look forward to the day where we no longer have to use JavaScript. If this offends someone, sorry.. but just my opinion. I can't stand JS.

Re: Dart 1.0 Is Out

#50
post #7
post #4

I almost finished the Language Tour when I went to the faq and was dissapointed to see that the dart2js compiler supports only ie9+ ( https://www.dartlang.org/support/faq.html#what-browsers-supp... ). Too bad, honestly.

Opinion: nobody should be shipping any JS to oldIE, period. Their JS engines are woeful. Even if you can get something app-like (the kind of thing you would use dart for) to work , your app won't scale w.r.t. perf so you're painting yourself into a corner.

That's your opinion and you're entitled to it but people do still have to ship things for IE6-8.
Post reply on HN