News for hackers. Stuff that matters.
Re:Google releases first beta SDK for Dart, including 20% fa... by spankalee on Wednesday June 19, 2013 @05:41PM (#5908509)
Dart compiles to just JavaScript that works in all browsers, and if a browser integrates the Dart VM, it'll run faster.

asm.js is just JavaScript that works in all browsers and if a browser integrates an asm.js compiler, it'll run faster.

Yes there are deployments steps needed to serve both Dart and JS to browsers: Those steps are: 1. Include both the JS and Dart in your static resources. 2. There is no 2.

Re:Google releases first beta SDK for Dart, including 20% fa... by pcwalton on Wednesday June 19, 2013 @05:50PM (#5908579)
The difference between asm.js and Dart is, as I mentioned before, that it is impossible to serve a Web app with asm.js that does not work in all modern browsers, due to the fact that asm.js is just JavaScript. With Dart, however, if you serve the Dart and don't include the corresponding JS, then your app only works in browsers that implement the Dart VM.
Re:Google releases first beta SDK for Dart, including 20% fa... by dragonwriter on Wednesday June 19, 2013 @07:08PM (#5909072)
> With Dart, however, if you serve the Dart and don't include the corresponding JS, then your app only works in browsers that implement the Dart VM.

Since no general use browser implements the Dart VM, no one would do that, so its really pretty irrelevant.

Re:Google releases first beta SDK for Dart, including 20% fa... by pcwalton on Wednesday June 19, 2013 @08:09PM (#5909329)
> Since no general use browser implements the Dart VM, no one would do that, so its really pretty irrelevant.

That's right. My hope is that it continues to stay that way, absent browser-manufacturer consensus.

Re:Google releases first beta SDK for Dart, including 20% fa... by kihara on Thursday June 20, 2013 @03:50AM (#5910781)
Please correct me if I am reading you wrong: so you hope that web developers will never get access to a better development platform?
Re:Google releases first beta SDK for Dart, including 20% fa... by FeloniousHam on Thursday June 20, 2013 @06:37AM (#5911251)
This. Set aside that Javascript has hit "peak speed", its failures for large codebases are fundamental [1]. I don't agree with the Google hate, but I can understand. What I don't understand: outright denial of the possibility of something better than JS.

(for my personal projects, I genuinely love JS)

1 As someone who works in a large organization, I live this. Small groups with great programmers can make use of all the many tools and tricks for maintaining their project, but for teams fractured across time and space and governance, it is no fun.

Re:Google releases first beta SDK for Dart, including 20% fa... by dragonwriter on Thursday June 20, 2013 @10:33AM (#5912279)
The "absent browser-manufacturer consensus" limitation in the post suggest that the hope is that a better development platform won't come with the cost of a fragmented web; i.e., that whatever the choice is for improvement (Dart or something else) it won't be one or more vendor-specific targets, but one broadly-accepted target that can be used freely without worrying about either locking-out users of other major browsers or providing different browser-specific alternative s.