Live data from Hacker News

Dart 1.0 Is Out

news.dartlang.org

31–40 of 162 posts

Re: Dart 1.0 Is Out

#31
post #9

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

Dart != ActiveX

Oh, and by the way, ActiveX would be awesome if it didn't have all the security flaws and was more portable. Too bad it didn't work.

Re: Dart 1.0 Is Out

#32
post #9

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

Well, Dart will eventually work best on Chrome because of the Dart VM. There's nothing stopping Mozilla from adding the VM to Firefox, of course. Getting an additional 2x-4x performance boost would be great.

Re: Dart 1.0 Is Out

#33

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

I really like Dart and hope it - or something like it - replaces javascript soon, but I'd heavily recommend learning javascript instead. I'll be quite some time, if ever till Dart is even 1/4 of the client side market.

Even if you did learn Dart, you'd inevitably have to include external javascript libraries, so you'll have to know javascript anyway.

And Google is still actively promoting javascript in things like AppScript and Angular js.

Re: Dart 1.0 Is Out

#34
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.

Why don't you choose JSX or TypeScript? The latter is a superset of JavaScript, so migration should be a breeze.

If you'd like the same language for client and server side, try Kotlin or HaXe.

For now, Dart doesn't have a crossbrowser VM yet (except for Dartium), so it doesn't give you any performance boost over JavaScript. Maybe one day there will be a cross-browser Dart VM as a PNaCl or asm.js module?

Re: Dart 1.0 Is Out

#35
This is speculation: but JetBrains work on dart IDE, android releasing ART, I'm tempted to say we're 2 years out from seeing DART running on android. It makes sense from a business sense, have the option of running dart apps on android would free the platform from its java dependance.

Re: Dart 1.0 Is Out

#36
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.

Re: Dart 1.0 Is Out

#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 be honest, it do looks promising.

Please guide me, what should I do, since I am a newbie, I want to take advantage of the fact that, since I don't know anything, I better learn something that have much promising future, and have an edge over technology.

Re: Dart 1.0 Is Out

#38
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.

I'm curious - what stops you from using dart2js today? Isn't it kinda like CoffeeScript? If you already have the latter, you already have workflow for "something that compiles to JS" as part of your app.

Re: Dart 1.0 Is Out

#39

This is speculation: but JetBrains work on dart IDE, android releasing ART, I'm tempted to say we're 2 years out from seeing DART running on android. It makes sense from a business sense, have the option of running dart apps on android would free the platform from its java dependance.

I hope that you are correct! That would be great. I have experimented with Dart on both client and server and it is a nice language. Fun to develop with.

Re: Dart 1.0 Is Out

#40
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.

People have found success in managing large Javascript codebases through good design choices like module systems (AMD/CommonJS), using the SRP to keep modules tight, and testing. It's tough (nigh impossible?) to retrofit those design choices onto an existing codebase.

Dart and TypeScript seem to offer a more familiar path to people who are used to Java/.NET/etc and who have been burned by messy JS codebases.

Post reply on HN