News for hackers. Stuff that matters.
Re:Core libraries stabilize with Dart's new M4 release by mythz on Tuesday April 16, 2013 @02:39PM (#5559942)
They've also published a new RayTracer OO benchmark showing the Dart VM far out performing V8: http://www.dartlang.org/performance/

Guessing being able to use native SIMD instructions inside the Dart VM should help with gaming and other graphics intensive apps: http://www.youtube.com/watch?v=CKh7UOELpPo

Re:Core libraries stabilize with Dart's new M4 release by spankalee on Tuesday April 16, 2013 @04:36PM (#5560724)
I don't think the SIMD optimizations have actually landed yet, and if they have it would have been very recently, and the Dart VM has been beating V8 for a while.
Re:Core libraries stabilize with Dart's new M4 release by ahoge on Tuesday April 16, 2013 @04:49PM (#5560794)
Yes, the SIMD optimizations aren't quite there yet. You can already write SIMD code though.
Re:Core libraries stabilize with Dart's new M4 release by sethladd on Tuesday April 16, 2013 @06:20PM (#5561325)
Correct. The optimizations are landing now/soon. Feedback welcome!
Re:Core libraries stabilize with Dart's new M4 release by pspeter3 on Tuesday April 16, 2013 @02:31PM (#5559907)
Has anyone here used Dart for a real project and found it worth using?
Re:Core libraries stabilize with Dart's new M4 release by darshan on Tuesday April 16, 2013 @02:41PM (#5559961)
I'm in the early stages of something "real", and I'm finding it very useful. I think if someone is already very familiar with and is mostly happy with JavaScript and its ecosystem, they might not see much of value (or maybe they would). For me, however, I can get small things done in JavaScript but tend to be overwhelmed by the ecosystem, and I'm far more comfortable in Dart. The core libraries are great, and having class-based object-orientation makes me much more comfortable than the prototype stuff in JavaScript.
Re:Core libraries stabilize with Dart's new M4 release by daw___ on Tuesday April 16, 2013 @02:34PM (#5559924)
Blossom.io CEO wrote an amazing blog post about their decision to switch to Dart in production: http://www.ramen.io/post/46936028144/we-are-switching-to-dar...
Re:Core libraries stabilize with Dart's new M4 release by mythz on Tuesday April 16, 2013 @02:42PM (#5559966)
Northwestern Uni just published a post today describing their good experience of choosing Dart to teach their HCI class:

http://amartya.in/post/48107255194/introducing-dart-to-an-hc...

Re:Core libraries stabilize with Dart's new M4 release by michaelwww on Tuesday April 16, 2013 @03:45PM (#5560375)
Yes. I'm in the process of finishing up a touch enabled web app for a client and we're all very pleased with the result. Since Dart is in development and has been changing, I've stuck to a small subset of features, basically easy DOM manipulation with classes. The resulting JavaScript from Dart2js has worked flawlessly across browsers (Chrome/FF/Safari on Win/Mac/iOS.) I believe there will come a time when clients specify Dart because it saves them time, money and maintenance problems.
Re:Core libraries stabilize with Dart's new M4 release by sethladd on Tuesday April 16, 2013 @06:21PM (#5561332)
One of my favorites: http://glyph3d.com "Glyph3D is a font atlas generation tool. It enables game developers / artists to create beautiful font atlas maps using various filter effects."
Re:Core libraries stabilize with Dart's new M4 release by tosh on Tuesday April 16, 2013 @02:55PM (#5560055)
Also great to see that there already is a Google Glass package for Dart :)
Re:Core libraries stabilize with Dart's new M4 release by mythz on Tuesday April 16, 2013 @03:59PM (#5560485)
Added missing link to Google Glass Mirror API :) http://pub.dartlang.org/packages/google_mirror_v1_api

Also it's great to see Dart's Sublime support improved: http://news.dartlang.org/2013/02/using-dart-with-sublime-tex...

Considering moving to Sublime for all text/script editing after finding out that it's an impressive universal toolbox with awesome packages at your finger tips in this comprehensive video: http://www.youtube.com/watch?v=TZ-bgcJ6fQo

Re:Core libraries stabilize with Dart's new M4 release by RegRegReg on Tuesday April 16, 2013 @04:10PM (#5560558)
They are still working on it? After TypeScript was introduced?
Re:Core libraries stabilize with Dart's new M4 release by mythz on Tuesday April 16, 2013 @05:10PM (#5560934)
Why wouldn't they, TypeScript does nothing to improve JS performance, faster start-up or iteration times, optimal tree-shaking, etc, it just makes it worse.

Dart is also focused on improving the state of web development with Web Components http://www.dartlang.org/articles/web-ui/ - fixing the DOM with a holistic and consistent API: http://www.dartlang.org/articles/improving-the-dom/ - and providing a single unified abstraction for classes and IO providing much better composability than the fragmentation seen in JS.

Re:Core libraries stabilize with Dart's new M4 release by cickpass_broken on Tuesday April 16, 2013 @05:07PM (#5560910)
Typescript is a superset of JavaScript, while Dart separate language that comes with a dart2js compiler. Not really the same.

More so, Dart has it's own VM.

Re:Core libraries stabilize with Dart's new M4 release by coldtea on Tuesday April 16, 2013 @05:54PM (#5561185)
As if TypeScript ever got anywhere?

Dart already has some small traction and it's not even 1.0 yet -- they just froze the core library APIs.

So, not only they are "still working on it", they have not even released it properly yet.

Not to mention it has totally different goals related to TypeScript (TS = tooling, Dart = performance, language design).

Re:Core libraries stabilize with Dart's new M4 release by sethladd on Tuesday April 16, 2013 @06:24PM (#5561356)
I would say that one of Dart's goals is certainly toolability. We ship a Dart Editor, and an analyzer, that supports refactoring, code completion, jump to definition, and more.

[disclaimer: I work on the Dart team.]

Re:Core libraries stabilize with Dart's new M4 release by seanmcdirmid on Tuesday April 16, 2013 @08:53PM (#5561912)
As I see it, TypeScript brings static typing and better tooling to the existing Javascript stack; Dart is a green field effort to reinvent the stack with some static typing and better tooling, among other things (new APIs, a faster VM, etc...).

[disclaimer: MS employee and PL designer/enthusiast, but no relationship with TypeScript]

Re:Core libraries stabilize with Dart's new M4 release by michaelwww on Wednesday April 17, 2013 @09:20AM (#5564277)
TypeScript has almost no buzz, interest or excitement surrounding it that I can detect, which is sad because I think it's a good effort and great tool. I would appreciate it, if someone could point me to an active and growing TypeScript community.

As for TypeScript tracking ES6, I just watched "Kit Cambridge, "EcmaScript Next: The Subtleties of ES 6" at W3Conf 2013" http://www.youtube.com/watch?v=Dt0f2XdvriQ and am really kind of stunned at how much I hate ES6 now, when before I knew nothing about it.

Dart hits the sweet spot for me.

Re:Core libraries stabilize with Dart's new M4 release by RegRegReg on Wednesday April 17, 2013 @04:11PM (#5566830)
There might not be much buzz yet, but there are type definitions for almost all decent JS frameworks:

https://github.com/borisyankov/DefinitelyTyped